|
@@ -117,10 +117,10 @@ class Relation
|
|
|
$where['level'] = $level;
|
|
|
}
|
|
|
if ($start) {
|
|
|
- $where['cdate#'] = array('>=', strtotime($start));
|
|
|
+ $where['cdate#'] = ['>=', strtotime($start)];
|
|
|
}
|
|
|
if ($end) {
|
|
|
- $where['cdate##'] = array('<=', strtotime($end));
|
|
|
+ $where['cdate##'] = ['<=', strtotime($end)];
|
|
|
}
|
|
|
$method = 'select';
|
|
|
if ($method == 'count') {
|