rabin 1 gadu atpakaļ
vecāks
revīzija
a77eb90f5c
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      lib/Log.php

+ 3 - 3
lib/Log.php

@@ -84,9 +84,9 @@ class Log
 
         $type = Dever::db('account/config_type')->one($info['type_id']);
         if ($type['type'] == 2) {
-            $info['ycash'] = -1*$info['ycash'];
-            $info['cash'] = -1*$info['cash'];
-            $info['fee'] = -1*$info['fee'];
+            $info['ycash'] = Dever::number(-1*$info['ycash']);
+            $info['cash'] = Dever::number(-1*$info['cash']);
+            $info['fee'] = Dever::number(-1*$info['fee']);
         }
         return $info;
     }