Working : Coupon : fix loop
This commit is contained in:
@@ -88,8 +88,8 @@ class Coupon extends BaseI18nLoop
|
|||||||
$search->filterById($id, Criteria::IN);
|
$search->filterById($id, Criteria::IN);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($isEnabled != BooleanOrBothType::ANY) {
|
if (isset($isEnabled)) {
|
||||||
$search->filterByIsEnabled($isEnabled ? 1 : 0);
|
$search->filterByIsEnabled($isEnabled ? true : false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform search
|
// Perform search
|
||||||
|
|||||||
Reference in New Issue
Block a user