Skip to content

Commit

Permalink
Dev: use the type argument
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 1, 2016
1 parent 9c2aa57 commit ad294d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_manager_helper.php
Expand Up @@ -10165,7 +10165,7 @@ public function loadTokenInformation($iSurveyId, $sToken = null, $bAnonymize = f
public static function addFrontendFlashMessage($type, $message, $surveyid) {
$originalPrefix = Yii::app()->user->getStateKeyPrefix();
Yii::app()->user->setStateKeyPrefix('frontend' . $surveyid);
Yii::app()->user->setFlash('error', $message);
Yii::app()->user->setFlash($type, $message);
Yii::app()->user->setStateKeyPrefix($originalPrefix);
}

Expand Down

0 comments on commit ad294d5

Please sign in to comment.