stanley-king %!s(int64=3) %!d(string=hai) anos
pai
achega
31d58a33fd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      rdispatcher/codispatcher.php

+ 2 - 2
rdispatcher/codispatcher.php

@@ -93,9 +93,9 @@ function subscribe_message(&$quit, &$redis, $channels)
                     }
                     elseif($type == 'mch_counts') {
                         $ins = Cache::getInstance('cacheredis');
-                        $val = $ins->get_org('merchant_refill_counts');
+                        $content = $ins->get_org('merchant_refill_counts');
 
-                        if(empty($val)) continue;
+                        if(empty($content)) continue;
                         $counts = json_decode($content,true);
                         if(empty($counts)) continue;