}
else {
$status = implode(',', array_keys($value));
- if (count($value) > 1) {
+ if (count($value) > 0) {
$op = 'IN';
$status = "({$status})";
}
}
else {
$mType = implode(',', array_keys($value));
- if (count($value) > 1) {
+ if (count($value) > 0) {
$op = 'IN';
$mType = "({$mType})";
}