Skip to content

Commit 4398dcf

Browse files
committed
Apply patch from #531, thanks @B-GH
1 parent ec549c0 commit 4398dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traits/LfmHelpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function translateToUtf8($input)
332332
*/
333333
public function isProcessingImages()
334334
{
335-
return lcfirst(str_singular(request('type'))) === 'image';
335+
return lcfirst(str_singular(request('type', ''))) === 'image';
336336
}
337337

338338
/**

0 commit comments

Comments
 (0)