Skip to content

Commit

Permalink
Fixed #1320 "One of" condition for multi select does not working
Browse files Browse the repository at this point in the history
  • Loading branch information
604media committed May 4, 2016
1 parent 3736480 commit 171dd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/AOR_Reports/AOR_Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,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;
}
}

Expand Down

0 comments on commit 171dd65

Please sign in to comment.