stanley-king 4 rokov pred
rodič
commit
ec383e5735
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 3 2
      shop/control/card_key.php

+ 3 - 2
shop/control/card_key.php

@@ -59,8 +59,9 @@ class card_keycontrol extends BaseSellerControl
     private function goods($type)
     {
         global $config;
-        $type = mtopcard\scard_type($type);
-        return $config['refill_specs'][$type];
+        $stype = mtopcard\scard_type($type);
+        Log::record("stype = {$stype} specs=" . implode($config['refill_specs'][$stype]),Log::DEBUG);
+        return $config['refill_specs'][$stype];
     }
 
     private function checkCardKey($card_no, $card_key, $card_type)