rabin 3 rokov pred
rodič
commit
889f613189
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      service/bill/lib/Cron.php

+ 1 - 1
service/bill/lib/Cron.php

@@ -578,7 +578,7 @@ class Cron
                 }
 
                 foreach ($member as $k1 => $v1) {
-                    $vinfo = Dever::db('agent/member')->find(array('parent_mid' => $v1['mid'], 'role' => 8));
+                    $vinfo = Dever::db('agent/member')->select(array('parent_mid' => $v1['mid'], 'role' => 8));
                     //$vinfo = Dever::db('agent/order')->select(array('parent_mid' => $v1['mid'], 'role' => 8));
                     if ($vinfo) {
                         foreach ($vinfo as $v2) {