stanley-king vor 4 Jahren
Ursprung
Commit
a7c05aadc5
2 geänderte Dateien mit 1 neuen und 6 gelöschten Zeilen
  1. 1 1
      mobile/control/merchant_refill.php
  2. 0 5
      mobile/control/merchantweb.php

+ 1 - 1
mobile/control/merchant_refill.php

@@ -93,7 +93,7 @@ class merchant_refillControl extends mbMerchantControl
             else
             {
                 $params = [ 'mchid' => $this->mchid(),
-                    'buyer_id' => $this->adminid(),
+                    'buyer_id' => $merchant_info['admin_id'],
                     'amount' => $amount,
                     'card_no' => $card_no,
                     'mch_order' => "",

+ 0 - 5
mobile/control/merchantweb.php

@@ -156,9 +156,4 @@ class mbMerchantControl extends merchantwebControl
     {
         return intval($_SESSION['mchid']);
     }
-
-    public function adminid()
-    {
-        return intval($_SESSION['member_id']);
-    }
 }