Skip to content

Commit

Permalink
Fixed issue #11845: Relevance Equation code is missing syntax highlig…
Browse files Browse the repository at this point in the history
…hting and not recognising question variables
  • Loading branch information
olleharstedt committed Nov 1, 2016
1 parent 757e35b commit 3d597a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/core/Survey_Common_Action.php
Expand Up @@ -256,6 +256,11 @@ protected function _renderWrappedTemplate($sAction = '', $aViewUrls = array(), $
{
$aData['oSurvey'] = Survey::model()->findByPk($aData['surveyid']);

// Needed to evaluate EM expressions in question summary
// See bug #11845
LimeExpressionManager::SetSurveyId($aData['surveyid']);
LimeExpressionManager::StartProcessingPage(false,true);

$this->_titlebar($aData);

//// Each view will call the correct bar as a subview.
Expand Down

0 comments on commit 3d597a4

Please sign in to comment.