Fix error on search with argument 16 not being an array but null

This commit is contained in:
DariusIII
2019-01-21 12:46:42 +01:00
parent 1af6b517fa
commit b9eb3ef6da
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ class SearchController extends BasePageController
config('nntmux.items_per_page'),
$orderBy,
-1,
$this->userdata['categoryexclusions'],
$this->userdata['categoryexclusions'] ?? [],
'basic',
$categoryID,
0,