@@ 1156-1158 (lines=3) @@ | ||
1153 | foreach ($status as $v) { |
|
1154 | $criteriaStatus->add(new Criteria('status', $v), 'OR'); |
|
1155 | } |
|
1156 | } elseif (!empty($status) && $status != -1) { |
|
1157 | $criteriaStatus->add(new Criteria('status', $status), 'OR'); |
|
1158 | } |
|
1159 | $criteria = new CriteriaCompo(); |
|
1160 | if (!empty($criteriaCategory)) { |
|
1161 | $criteria->add($criteriaCategory); |
|
@@ 1312-1315 (lines=4) @@ | ||
1309 | foreach ($status as $v) { |
|
1310 | $criteriaStatus->add(new Criteria('status', $v), 'OR'); |
|
1311 | } |
|
1312 | } elseif (!empty($status) && $status != -1) { |
|
1313 | $criteriaStatus = new CriteriaCompo(); |
|
1314 | $criteriaStatus->add(new Criteria('status', $status), 'OR'); |
|
1315 | } |
|
1316 | $criteria = new CriteriaCompo(); |
|
1317 | if (!empty($criteriaCategory)) { |
|
1318 | $criteria->add($criteriaCategory); |