zz 6 gadi atpakaļ
vecāks
revīzija
be68e60aaa
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/Console/Commands/BookTest.php

+ 1 - 1
app/Console/Commands/BookTest.php

@@ -340,7 +340,7 @@ class BookTest extends Command
             if($to_bids){
                 foreach ($to_bids as $v){
                     $to_bid = $v->to_bid;
-                    $time = $to_bids->created_at->format('Y-m-d H:i:s');
+                    $time = $v->created_at->format('Y-m-d H:i:s');
                     if(!$to_bid) continue;
                     $fee = $chapter_model->where('uid',$item->uid)
                         ->where('bid',$to_bid)