Make an inequality check a strict one

This commit is contained in:
Jonny Barnes 2017-10-06 17:57:46 +01:00
parent 3638126c5c
commit 55c4159c87

View file

@ -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