Showing
1 changed file
with
2 additions
and
3 deletions
@@ -716,9 +716,8 @@ class Yohobuy | @@ -716,9 +716,8 @@ class Yohobuy | ||
716 | $mod = 0; | 716 | $mod = 0; |
717 | 717 | ||
718 | if (isset($param['uid'])) { | 718 | if (isset($param['uid'])) { |
719 | - $param['uid'] = intval($param['uid']); | ||
720 | - $uid = $param['uid']; | ||
721 | - $mod = $param['uid'] % 1024; | 719 | + $uid = intval($param['uid']); |
720 | + $mod = $uid % 1024; | ||
722 | } | 721 | } |
723 | 722 | ||
724 | if ($mod > 128 || $uid === 0) { | 723 | if ($mod > 128 || $uid === 0) { |
-
Please register or login to post a comment