Changeset 1539


Ignore:
Timestamp:
Feb 21, 2011, 12:29:42 PM (6 years ago)
Author:
robert@…
Message:

Fixed #299: readers and writers are not correctly saved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/StudyWizardController.groovy

    r1488 r1539  
    13381338                def users = []
    13391339
    1340                 if (type == "readers") {
    1341                         users = flow.study.readers ?: []
    1342                 } else if (type == "writers") {
    1343                         users = flow.study.writers ?: []
     1340                if (type == "readers" && flow.study.readers ) {
     1341                        users += flow.study.readers
     1342                } else if (type == "writers" && flow.study.writers ) {
     1343                        users += flow.study.writers
    13441344                }
    13451345
Note: See TracChangeset for help on using the changeset viewer.