|
|
@ -231,7 +231,7 @@ class CouponController extends BaseController |
|
|
foreach ($data as $key => &$item) { |
|
|
foreach ($data as $key => &$item) { |
|
|
if (in_array($item->id, $couponIds)) { |
|
|
if (in_array($item->id, $couponIds)) { |
|
|
$notAvailable[] = $item; |
|
|
$notAvailable[] = $item; |
|
|
unset($item); |
|
|
|
|
|
|
|
|
unset($data[$key]); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|