cqpCow пре 1 година
родитељ
комит
81f5fcbdaa
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Service/ConstructionService.php

+ 1 - 1
app/Service/ConstructionService.php

@@ -189,7 +189,7 @@ class ConstructionService extends Service
         try {
             DB::beginTransaction();
 
-            Construction::whereIn('id',$data['id'])->update([
+            Construction::where('id',$data['id'])->update([
                 'del_time'=> time()
             ]);
             ConstructionInfo::where('del_time',0)