dever %!s(int64=6) %!d(string=hai) anos
pai
achega
a9ae7dc678
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;