dever 6 anni fa
parent
commit
a9ae7dc678
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;