Skip to content

Commit

Permalink
Fixed issue #17381: Missing evaluation of EM in CSS script field (#1946)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieljenik committed Jul 14, 2021
1 parent 607dddc commit db67654
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions application/views/admin/survey/Question/question_view.php
Expand Up @@ -200,8 +200,12 @@
</td>
<td>
<?php
if (isset($aAdvancedSetting['expression']) && $aAdvancedSetting['expression']==2){
LimeExpressionManager::ProcessString('{' . $aAdvancedSetting['value'] . '}', $qid);
if (isset($aAdvancedSetting['expression']) && $aAdvancedSetting['expression'] > 0) {
if ($aAdvancedSetting['expression'] == 1) {
LimeExpressionManager::ProcessString($aAdvancedSetting['value'], $qid);
} else {
LimeExpressionManager::ProcessString('{' . $aAdvancedSetting['value'] . '}', $qid);
}
echo LimeExpressionManager::GetLastPrettyPrintExpression();
} else {
if ($aAdvancedSetting['i18n']==false){
Expand Down

0 comments on commit db67654

Please sign in to comment.