We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2576e77 commit 66e29ceCopy full SHA for 66e29ce
src/Lfm.php
@@ -74,7 +74,7 @@ public function currentLfmType()
74
{
75
$lfm_type = 'file';
76
77
- $request_type = lcfirst(str_singular($this->input('type')));
+ $request_type = lcfirst(str_singular($this->input('type') ?: ''));
78
$available_types = array_keys($this->config->get('lfm.folder_categories'));
79
80
if (in_array($request_type, $available_types)) {
0 commit comments