xieruidong 2 lat temu
rodzic
commit
a3f7d3a233
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      application/common/model/Payment.php

+ 1 - 1
application/common/model/Payment.php

@@ -41,7 +41,7 @@ class Payment extends Model
         $this->save();
         switch ($this['payment_type']){
             case (new Orders)->getTable():
-                Orders::makePayed($this['payment_id']);
+                Orders::makePayed($this);
                 break;
         }
     }