dever 6 vuotta sitten
vanhempi
commit
a9ae7dc678
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;