Skip to content

Commit

Permalink
Dev: same string than other controllers, too late but ...
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Jan 26, 2015
1 parent dbae345 commit 4e9294d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/surveyadmin.php
Expand Up @@ -69,7 +69,7 @@ public function regenquestioncodes($iSurveyID, $sSubAction )
$clang = $this->getController()->lang;
if (!Permission::model()->hasSurveyPermission($iSurveyID, 'surveycontent', 'update'))
{
Yii::app()->setFlashMessage($clang->gT("No access."),'error');
Yii::app()->setFlashMessage($clang->gT("You do not have sufficient rights to access this page."),'error');
$this->getController()->redirect(array('admin/survey','sa'=>'view','surveyid'=>$iSurveyID));
}
$oSurvey=Survey::model()->findByPk($iSurveyID);
Expand Down

0 comments on commit 4e9294d

Please sign in to comment.