Show
Ignore:
Timestamp:
07-10-10 13:08:20 (4 years ago)
Author:
business@…
Message:

fixed a bug in the belongsToGroup functions in Event and SamplingEvent?

Files:
1 modified

Legend:

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

    r878 r933  
    7979                def that = this; 
    8080                groups.each { eventgroup -> 
    81                         if (!eventFound) { 
     81                        if (!eventFound && eventgroup.samplingEvents) { 
    8282                                eventFound = (that.id in eventgroup.samplingEvents.id); 
    8383                        }