@@ 667-670 (lines=4) @@ | ||
664 | 'EVT_ID' => array('NOT IN', $event_ids) |
|
665 | ); |
|
666 | ||
667 | if (isset($where_params['OR'])) { |
|
668 | $and_condition['OR'] = $where_params['OR']; |
|
669 | unset($where_params['OR']); |
|
670 | } |
|
671 | ||
672 | if (isset($where_params['Datetime.DTT_EVT_end'])) { |
|
673 | $and_condition['Datetime.DTT_EVT_end****'] = $where_params['Datetime.DTT_EVT_end']; |
|
@@ 717-720 (lines=4) @@ | ||
714 | //if we have any additional query_params, let's add them to the 'AND' condition |
|
715 | $where_params['AND']['status'] = array('!=', 'publish'); |
|
716 | ||
717 | if (isset($where_params['OR'])) { |
|
718 | $where_params['AND']['OR'] = $where_params['OR']; |
|
719 | unset($where_params['OR']); |
|
720 | } |
|
721 | ||
722 | if (isset($where_params['Datetime.DTT_EVT_end'])) { |
|
723 | $where_params['AND']['Datetime.DTT_EVT_end****'] = $where_params['Datetime.DTT_EVT_end']; |