Ken 1 týždeň pred
rodič
commit
17eb11fa8b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/Http/Controllers/api/Issue.php

+ 1 - 1
app/Http/Controllers/api/Issue.php

@@ -110,7 +110,7 @@ class Issue extends BaseController
         $data = [
             'issue_no' => $issue_no2,
             'current_time' => time(),
-            'end_time' => $data1 ? strtotime($data1->end_time) : strtotime($data2->end_time) + 210,
+            'end_time' => $data1 ? strtotime($data1->end_time) : (strtotime($data2->end_time) + 210),
             'winnings' => $arr,
         ];
         return $this->success($data);