Skip to content

Commit

Permalink
Dev Fixes #10984: Crash when accessing general settings
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Apr 20, 2016
1 parent 8d85709 commit bc49cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/surveyadmin.php
Expand Up @@ -1055,7 +1055,7 @@ public function editlocalsettings($iSurveyID)

$aData['surveybar']['savebutton']['form'] = 'globalsetting';
$aData['surveybar']['savebutton']['useformid'] = 'true';
if (Permission::model()->hasSurveyPermission($iSurveyId, 'surveycontent', 'update'))
if (Permission::model()->hasSurveyPermission($iSurveyID, 'surveycontent', 'update'))
{
$aData['surveybar']['saveandclosebutton']['form'] = true;
}
Expand Down

0 comments on commit bc49cb8

Please sign in to comment.