xieruidong hace 2 años
padre
commit
a3f7d3a233
Se han modificado 1 ficheros con 1 adiciones y 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;
         }
     }