rabin 2 years ago
parent
commit
52b81d8817
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/shop/lib/Money.php

+ 1 - 1
app/shop/lib/Money.php

@@ -97,7 +97,7 @@ class Money
         $user = Dever::db('passport/user')->find(array('id' => $uid, 'clear' => true));
         if ($user) {
         	$where['uid'] = $uid;
-            if ($type == 11) {
+            if ($type > 10) {
                 $cash = -1*$cash;
             }
         	$where['type'] = $type;