rabin 2 gadi atpakaļ
vecāks
revīzija
7afa758e2c
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      service/agent/lib/Soft_cash.php

+ 2 - 0
service/agent/lib/Soft_cash.php

@@ -35,6 +35,8 @@ Class Soft_cash
             
             
             if($cash){
             if($cash){
                 $update['set_cash'] = $cash;
                 $update['set_cash'] = $cash;
+            } else {
+                $cash = $soft['cash'];
             }
             }
             if($price){
             if($price){
                 $update['set_price'] = $price;
                 $update['set_price'] = $price;