dever %!s(int64=6) %!d(string=hai) anos
pai
achega
e3bd3d2552
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      main/lib/Cron.php

+ 1 - 1
main/lib/Cron.php

@@ -71,7 +71,7 @@ class Cron
         }
         $where['type'] = 2;
         //$where['score_status'] = 1;
-        $order = Dever::db('journal/order')->getBuy($where);
+        $order = Dever::db('journal/order')->state($where);
 
         print_r($order);die;
         if($order) {