Changeset 1571

Show
Ignore:
Timestamp:
25-02-11 17:28:46 (3 years ago)
Author:
robert@…
Message:

Another small bugfix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r1494 r1571  
    157157         */ 
    158158        def ArrayList giveAssaysForTemplate(Template template) { 
    159                 assays.findAll { it.template.equals(template) } 
     159                assays.findAll { it && it.template.equals(template) } 
    160160        } 
    161161