mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:01:24 +00:00
Update classes
This commit is contained in:
@@ -33,7 +33,7 @@ class AdultController extends BasePageController
|
||||
if ($id && \in_array($id, Arr::pluck($mtmp, 'title'), false)) {
|
||||
$cat = Category::query()
|
||||
->where('title', $id)
|
||||
->where('parentid', '=', Category::XXX_ROOT)
|
||||
->where('root_categories_id', '=', Category::XXX_ROOT)
|
||||
->first(['id']);
|
||||
$category = $cat !== null ? $cat['id'] : Category::XXX_ROOT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user