Skip to content

Commit

Permalink
Merge pull request #1332 from 604media/branch-issue-1320
Browse files Browse the repository at this point in the history
Fixed #1320 "One of" condition for multi select does not working
  • Loading branch information
samus-aran committed May 9, 2016
2 parents 9c8e7aa + 171dd65 commit bf8502c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/AOR_Reports/AOR_Report.php
Expand Up @@ -1380,7 +1380,7 @@ function build_report_query_where($query = array()){
break;
}
} else {
$query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ': 'AND ')) . $field . ' ' . $app_list_strings['aor_sql_operator_list'][$condition->operator] . ' ' . $value;
if (!$where_set) $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ': 'AND ')) . $field . ' ' . $app_list_strings['aor_sql_operator_list'][$condition->operator] . ' ' . $value;
}
}
$tiltLogicOp = false;
Expand Down

0 comments on commit bf8502c

Please sign in to comment.