|
@@ 616-619 (lines=4) @@
|
| 613 |
|
'Datetime.DTT_EVT_end' => array('<', EEM_Datetime::instance()->current_time_for_query('DTT_EVT_end')), |
| 614 |
|
'EVT_ID' => array('NOT IN', $event_ids), |
| 615 |
|
); |
| 616 |
|
if (isset($where_params['OR'])) { |
| 617 |
|
$and_condition['OR'] = $where_params['OR']; |
| 618 |
|
unset($where_params['OR']); |
| 619 |
|
} |
| 620 |
|
if (isset($where_params['Datetime.DTT_EVT_end'])) { |
| 621 |
|
$and_condition['Datetime.DTT_EVT_end****'] = $where_params['Datetime.DTT_EVT_end']; |
| 622 |
|
unset($where_params['Datetime.DTT_EVT_end']); |
|
@@ 662-665 (lines=4) @@
|
| 659 |
|
} |
| 660 |
|
// if we have any additional query_params, let's add them to the 'AND' condition |
| 661 |
|
$where_params['AND']['status'] = array('!=', 'publish'); |
| 662 |
|
if (isset($where_params['OR'])) { |
| 663 |
|
$where_params['AND']['OR'] = $where_params['OR']; |
| 664 |
|
unset($where_params['OR']); |
| 665 |
|
} |
| 666 |
|
if (isset($where_params['Datetime.DTT_EVT_end'])) { |
| 667 |
|
$where_params['AND']['Datetime.DTT_EVT_end****'] = $where_params['Datetime.DTT_EVT_end']; |
| 668 |
|
unset($where_params['Datetime.DTT_EVT_end']); |