From 087845a67ef84ed667c792d9f21f2e74496fd4fe Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 27 Jul 2017 18:29:23 +0300 Subject: [PATCH] Don't check phantomjs when fixing data --- app/Console/Commands/CheckData.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index 4935371bede0..374a3e29f026 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -139,6 +139,10 @@ class CheckData extends Command return; } + if ($this->option('fix') == 'true') { + return; + } + $date = new Carbon(); $date = $date->subDays(1)->format('Y-m-d');