Skip to content

Commit

Permalink
Fixed issue: Admin email address not shown when survey is inactive an…
Browse files Browse the repository at this point in the history
…d accessed by participants
  • Loading branch information
c-schmitz committed Nov 29, 2012
1 parent 2d9fb43 commit c4fcfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/survey/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function action()
$move = $param['move'];
$clienttoken = $param['token'];
$standardtemplaterootdir = Yii::app()->getConfig('standardtemplaterootdir');
if (is_null($thissurvey)) $thissurvey = getSurveyInfo($surveyid);
if (is_null($thissurvey) && !is_null($surveyid)) $thissurvey = getSurveyInfo($surveyid);

// unused vars in this method (used in methods using compacted method vars)
@$loadname = $param['loadname'];
Expand Down

0 comments on commit c4fcfbe

Please sign in to comment.