Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed issue #09589: Testing a survey for admin user can be broken
Dev: This reset EM for attribute and help
Dev: question text and relevance are in EM session and not resetted (need buildsurveysession)
Dev: LS 3 don't use $_SESSION
  • Loading branch information
Shnoulle committed Jun 26, 2015
1 parent 09ff3be commit de13135
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -718,6 +718,12 @@ public static function SetDirtyFlag()
{
$_SESSION['LEMdirtyFlag'] = true;// For fieldmap and other. question help {HELP} is taken from fieldmap
$_SESSION['LEMforceRefresh'] = true;// For Expression manager string
/* Bug #09589 : update a survey don't reset actual test => Force reloading of survey */
$iSessionSurveyId=self::getLEMsurveyId();
if($aSessionSurvey=Yii::app()->session["survey_{$iSessionSurveyId}"])
{
Yii::app()->session["survey_{$iSessionSurveyId}"]['LEMtokenResume']=true;
}
}

/**
Expand Down

0 comments on commit de13135

Please sign in to comment.