mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Update usage of $this->userdata in controllers
This commit is contained in:
@@ -57,7 +57,7 @@ class ConsoleController extends BasePageController
|
||||
$offset = ($page - 1) * config('nntmux.items_per_cover_page');
|
||||
|
||||
$consoles = [];
|
||||
$rslt = $console->getConsoleRange($page, $catarray, $offset, config('nntmux.items_per_cover_page'), $orderby, $this->userdata['categoryexclusions']);
|
||||
$rslt = $console->getConsoleRange($page, $catarray, $offset, config('nntmux.items_per_cover_page'), $orderby, $this->userdata->categoryexclusions);
|
||||
$results = $this->paginate($rslt ?? [], $rslt[0]->_totalcount ?? 0, config('nntmux.items_per_cover_page'), $page, $request->url(), $request->query());
|
||||
|
||||
$maxwords = 50;
|
||||
|
||||
Reference in New Issue
Block a user