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 a40171d commit 670c798Copy full SHA for 670c798
src/Lfm.php
@@ -74,7 +74,7 @@ public function currentLfmType()
74
$lfm_type = 'file';
75
76
$request_type = lcfirst(str_singular($this->input('type') ?: ''));
77
- $available_types = array_keys($this->config->get('lfm.folder_categories', []));
+ $available_types = array_keys($this->config->get('lfm.folder_categories') ?: []);
78
79
if (in_array($request_type, $available_types)) {
80
$lfm_type = $request_type;
0 commit comments