Skip to content

Commit

Permalink
Fixed issue #05769: In multiple choice question with comment, it alwa…
Browse files Browse the repository at this point in the history
…ys shows 'please also fill in "other comment" field'

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@12380 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
tmswhite committed Feb 7, 2012
1 parent 6179d65 commit 12ace4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/eval/LimeExpressionManager.php
Expand Up @@ -1150,7 +1150,7 @@ public function _CreateSubQLevelRelevanceAndValidationEqns($onlyThisQseq=NULL)

// other_comment_mandatory
// Validation:= sqN <= value (which could be an expression).
if (isset($qattr['other_comment_mandatory']) && trim($qattr['other_comment_mandatory']) != '')
if (isset($qattr['other_comment_mandatory']) && trim($qattr['other_comment_mandatory']) == '1')
{
$other_comment_mandatory = $qattr['other_comment_mandatory'];
$eqn='';
Expand Down

0 comments on commit 12ace4e

Please sign in to comment.