Procházet zdrojové kódy

fix set black card

stanley-king před 4 roky
rodič
revize
9f7216e3b2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      helper/refill/util.php

+ 1 - 1
helper/refill/util.php

@@ -83,7 +83,7 @@ class util
         if(!empty($card_info)) {
             $card_info['black_card'] = 1;
             $mod_topcard = Model('topcard');
-            $mod_topcard->where(['card_no' => $card_no])->update(['black_card' => 1]);
+            $mod_topcard->table('topcard')->where(['card_no' => $card_no])->update(['black_card' => 1]);
             wcache($card_no,$card_info,'cardrefill-');
 
             return true;