Browse Source

start banlance pd and bonus

stanley-king 8 years atrás
parent
commit
5c1032a2df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mobile/control/test.php

+ 1 - 1
mobile/control/test.php

@@ -274,7 +274,7 @@ class testControl extends mobileHomeControl
 
             $pd = new predeposit_helper($member_id);
             $ret = $pd->get_predeposit();
-            $total = intval($ret['total_value'] * 100 + 0.5) + intval($ret['freeze_value'] * 100 + 0.5);
+            $total = intval($ret['total_value'] * 100 + $ret['freeze_value'] * 100 + 0.5);
 
             $holder = new bonus\witholder($member_id);
             $usable_amount = intval($holder->usable_amount() * 100 + 0.5);