From 7a0985dd6b4d1fabb2c333aae7318ae9b2b5bcee Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 10 Jan 2017 11:51:21 +0200 Subject: [PATCH] Always email check data results --- app/Console/Commands/CheckData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index e37fa165f3e7..59e49333a7d0 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -76,7 +76,7 @@ class CheckData extends Command { $this->info($this->log); - if ( ! $this->isValid && $errorEmail) { + if ($errorEmail) { Mail::raw($this->log, function ($message) use ($errorEmail) { $message->to($errorEmail) ->from(CONTACT_EMAIL)