Fix one more occurence of wrong data sent to search function

This commit is contained in:
DariusIII
2019-01-22 11:04:49 +01:00
parent c0b4a030e8
commit ace420da1e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ class SearchController extends BasePageController
config('nntmux.items_per_page'),
$orderBy,
-1,
$this->userdata['categoryexclusions'],
$this->userdata['categoryexclusions'] ?? [],
'advanced',
[$searchVars['searchadvcat'] === '' ? -1 : $searchVars['searchadvcat']]
);