From 55c4159c87d1b41d3299ae50666fb92325d644cf Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 6 Oct 2017 17:57:46 +0100 Subject: [PATCH] Make an inequality check a strict one --- app/Jobs/ProcessImage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/ProcessImage.php b/app/Jobs/ProcessImage.php index f0fdb263..4ba0060f 100644 --- a/app/Jobs/ProcessImage.php +++ b/app/Jobs/ProcessImage.php @@ -44,7 +44,7 @@ class ProcessImage implements ShouldQueue return; } //create smaller versions if necessary - if ($image->width() >= 1000) { + if ($image->width() > 1000) { $filenameParts = explode('.', $this->filename); $extension = array_pop($filenameParts); // the following acheives this data flow