mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix wrong Category model function usage in rest of controllers
This commit is contained in:
@@ -88,7 +88,7 @@ class ConsoleController extends BasePageController
|
||||
if ((int) $category === -1) {
|
||||
$this->smarty->assign('catname', 'All');
|
||||
} else {
|
||||
$cdata = (new Category)->find($category);
|
||||
$cdata = Category::find($category);
|
||||
if ($cdata !== null) {
|
||||
$this->smarty->assign('catname', $cdata);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user