Changeset 1665


Ignore:
Timestamp:
Mar 23, 2011, 11:38:59 AM (6 years ago)
Author:
work@…
Message:
File:
1 edited

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?
Note: See TracChangeset for help on using the changeset viewer.