diff --git a/application/helpers/expressions/em_manager_helper.php b/application/helpers/expressions/em_manager_helper.php index ff9e45a3f6a..2cf8298cf7f 100644 --- a/application/helpers/expressions/em_manager_helper.php +++ b/application/helpers/expressions/em_manager_helper.php @@ -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; + } } /**