Skip to content

Commit

Permalink
Fixed issue #05761: values from non-hidden equations are not written …
Browse files Browse the repository at this point in the history
…the the database

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12365 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
tmswhite committed Feb 6, 2012
1 parent 3e7fbd2 commit 4b93a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_manager_helper.php
Expand Up @@ -4462,7 +4462,7 @@ function _ValidateQuestion($questionSeq)
$updatedValues[$sgqa] = NULL;
}
}
else if ($qInfo['hidden'] && $qInfo['type'] == '*')
else if ($qInfo['type'] == '*')
{
// Process relevant equations, even if hidden, and write the result to the database
$result = flattenText($LEM->ProcessString($qInfo['eqn'], $qInfo['qid'],NULL,false,1,1,false,false));
Expand Down

0 comments on commit 4b93a56

Please sign in to comment.