Skip to content

Commit

Permalink
Fixed issue: After survey activation the ExpressionManager cache was …
Browse files Browse the repository at this point in the history
…not updated
  • Loading branch information
c-schmitz committed Aug 30, 2019
1 parent 556c4bb commit e655924
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/admin/activate_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ function activateSurvey($iSurveyID, $simulate = false)
}
$sQuery = "UPDATE {{surveys}} SET active='Y' WHERE sid=".$iSurveyID;
Yii::app()->db->createCommand($sQuery)->query();
LimeExpressionManager::SetDirtyFlag();

$event = new PluginEvent('afterSurveyActivate');
$event->set('surveyId', $iSurveyID);
Expand Down

0 comments on commit e655924

Please sign in to comment.