From 12ace4e008aa5c876d55e4962afc8e52c48066da Mon Sep 17 00:00:00 2001 From: tmswhite Date: Tue, 7 Feb 2012 02:56:14 +0000 Subject: [PATCH] Fixed issue #05769: In multiple choice question with comment, it always 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 --- classes/eval/LimeExpressionManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/eval/LimeExpressionManager.php b/classes/eval/LimeExpressionManager.php index b17df744f67..c41ca644dcd 100644 --- a/classes/eval/LimeExpressionManager.php +++ b/classes/eval/LimeExpressionManager.php @@ -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='';