mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update user category exclusion handling in API and APIv2
This commit is contained in:
@@ -229,7 +229,7 @@ class BasePageController extends Controller
|
||||
*/
|
||||
protected function setUserPreferences(): void
|
||||
{
|
||||
$this->userdata['categoryexclusions'] = User::getCategoryExclusion(Auth::id());
|
||||
$this->userdata['categoryexclusions'] = User::getCategoryExclusionById(Auth::id());
|
||||
|
||||
// Change the theme to user's selected theme if they selected one, else use the admin one.
|
||||
if ((int) Settings::settingValue('site.main.userselstyle') === 1) {
|
||||
|
||||
Reference in New Issue
Block a user