stanley-king 8 vuotta sitten
vanhempi
commit
ac1c44637c
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      helper/predeposit_helper.php

+ 8 - 0
helper/predeposit_helper.php

@@ -813,6 +813,14 @@ class predeposit_helper
             $this->inc_rate_version();
             $this->del_rates();
         }
+        else
+        {
+            $cent = intval($ret * 100 + 0.5);
+            if($cent > 0) {
+                $this->inc_rate_version();
+                $this->del_rates();
+            }
+        }
 
         return $ret;
     }