Changeset 1067

Show
Ignore:
Timestamp:
03-11-10 17:57:24 (3 years ago)
Author:
j.a.m.wesbeek@…
Message:

- authentication service was not defined in the loadStudy logic

Files:
1 modified

Legend:

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

    r1066 r1067  
    799799                                        println ".saving study" 
    800800 
    801                                         // Make sure the owner of the study is set right 
    802                                         flow.study.owner = AuthenticationService.getLoggedInUser() 
     801                                        // Make sure the owner of the study is set right 
     802                                        flow.study.owner = AuthenticationService.getLoggedInUser() 
    803803 
    804804                                        if (!flow.study.save(flush:true)) { 
     
    855855         */ 
    856856        def loadStudy(flow, flash, params) { 
     857                def AuthenticationService 
     858                 
    857859                flash.errors = new LinkedHashMap() 
    858860