diff --git a/Changelog b/Changelog index 7b1282fc0..24f9c2eda 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2019-01-22 DariusIII + * Fix: Fix one more occurence of wrong data sent to search function * Chg: Log errors in PostProcessAdditional class 2019-01-21 DariusIII * Chg: Further improve results returned by search diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 9548b9933..ebb26f1b7 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -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']] );