Skip to content

Commit

Permalink
Fixed issue Groups that had only mix of irrelevant and always-hidden …
Browse files Browse the repository at this point in the history
…questions were not being skipped.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@11753 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
TMSWhite committed Dec 24, 2011
1 parent 3e20bf5 commit dff2dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/eval/LimeExpressionManager.php
Expand Up @@ -3017,7 +3017,7 @@ function _ValidateGroup($groupSeq)
if ($qStatus['relevant']==true) {
$grel = $gRelInfo['result']; // true; // at least one question relevant
}
if ($qStatus['hidden']==false) {
if ($qStatus['hidden']==false && $qStatus['relevant'] == true) {
$ghidden=false; // at least one question is visible
}
if ($qStatus['mandViolation']==true) {
Expand Down

0 comments on commit dff2dda

Please sign in to comment.