Skip to content

Commit

Permalink
Fixed issue #6878: unable to save survey settings under some PHP version
Browse files Browse the repository at this point in the history
Dev: this fix work for some user, and think method is better. No problem with other php version
  • Loading branch information
Shnoulle committed Nov 16, 2012
1 parent 349ff21 commit b84efed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/controllers/admin/surveyadmin.php
Expand Up @@ -178,7 +178,8 @@ function editsurveysettings($iSurveyID)

$aData['questions'] = $oResult;
$aData['display']['menu_bars']['surveysummary'] = "editsurveysettings";
$aData['data'] = $aData;
$tempData = $aData;
$aData['data'] = $tempData;

$this->_renderWrappedTemplate('survey', 'editSurvey_view', $aData);
}
Expand Down

0 comments on commit b84efed

Please sign in to comment.