|
@@ -149,7 +149,9 @@ class minutesControl extends BaseCronControl
|
|
|
}
|
|
|
|
|
|
$old = rcache("refill_able",'merchant-');
|
|
|
- $old = $old['data'];
|
|
|
+ $old = empty($old) ? "" : $old['data'];
|
|
|
+
|
|
|
+ ksort($abilitys);
|
|
|
$new = serialize($abilitys);
|
|
|
if($new != $old) {
|
|
|
wcache("refill_able" , ['data' => $new] , 'merchant-');
|