xieruidong %!s(int64=2) %!d(string=hai) anos
pai
achega
a3f7d3a233
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }
     }