|
@@ -229,7 +229,7 @@ class UserBrokerageServices extends BaseServices
|
|
|
if (isset($where['uid']) && $where['uid'] != '') {
|
|
|
$where_data['uid'] = $where['uid'];
|
|
|
}
|
|
|
- if ($where['start_time'] != '' && $where['end_time'] != '') {
|
|
|
+ if (($where['start_time'] ?? '') != '' && ($where['end_time'] ?? '') != '') {
|
|
|
$where_data['time'] = str_replace('-', '/', $where['start_time']) . ' - ' . str_replace('-', '/', $where['end_time']);
|
|
|
}
|
|
|
if (isset($where['type']) && $where['type'] != '') {
|