dever 6 lat temu
rodzic
commit
a9ae7dc678
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      main/lib/Cron.php

+ 1 - 1
main/lib/Cron.php

@@ -52,7 +52,7 @@ class Cron
         }
 
         if ($score > 0) {
-            $where['uid'] = $v['uid'];
+            $where['uid'] = $data['uid'];
             $user = Dever::db('score/user')->one($where);
             if ($user) {
                 $user_score = $user['score'] - $score;