Skip to content

Commit

Permalink
Fixed issue #05766: exclude_all_others_auto does not work
Browse files Browse the repository at this point in the history
Dev fixed typo in logic detecting that exclude_all_others_auto is active
  • Loading branch information
TMSWhite committed May 16, 2012
1 parent 4627d34 commit 024865f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/expressions/LimeExpressionManager.php
Expand Up @@ -1217,8 +1217,8 @@ public function _CreateSubQLevelRelevanceAndValidationEqns($onlyThisQseq=NULL)
// exclude_all_others_auto
// if (count(this.relevanceStatus) == count(this)) { set exclusive option value to "Y" and call checkconditions() }
// However, note that would need to blank the values, not use relevance, otherwise can't unclick the _auto option without having it re-enable itself
if (isset($qattr['exclude_all_others_auto']) && trim($qattr['exclude_all_others_auto']) != ''
&& isset($qattr['exclude_all_others']) && count(explode(';',trim($qattr['exclude_all_others']))) == 1)
if (isset($qattr['exclude_all_others_auto']) && trim($qattr['exclude_all_others_auto']) == '1'
&& isset($qattr['exclude_all_others']) && trim($qattr['exclude_all_others']) != '' && count(explode(';',trim($qattr['exclude_all_others']))) == 1)
{
$exclusive_option = trim($qattr['exclude_all_others']);
if ($hasSubqs) {
Expand Down

0 comments on commit 024865f

Please sign in to comment.