Changeset 1665

Show
Ignore:
Timestamp:
23-03-11 11:38:59 (3 years ago)
Author:
work@…
Message:

- resolves #376

Files:
1 modified

Legend:

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

    r1659 r1665  
    12201220 
    12211221                // handle public checkbox 
    1222                 if (params.get("publicstudy")) { 
    1223                         flow.study.publicstudy = params.get("publicstudy") 
    1224                 } 
     1222                flow.study.publicstudy = (params.get("publicstudy") && params.get("publicstudy") == "on") ? true : false 
    12251223 
    12261224                // have we got a template?