Make an inequality check a strict one
This commit is contained in:
parent
3638126c5c
commit
55c4159c87
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class ProcessImage implements ShouldQueue
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//create smaller versions if necessary
|
//create smaller versions if necessary
|
||||||
if ($image->width() >= 1000) {
|
if ($image->width() > 1000) {
|
||||||
$filenameParts = explode('.', $this->filename);
|
$filenameParts = explode('.', $this->filename);
|
||||||
$extension = array_pop($filenameParts);
|
$extension = array_pop($filenameParts);
|
||||||
// the following acheives this data flow
|
// the following acheives this data flow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue