Update index.php

This commit is contained in:
Roman Kelesidis 2025-04-17 14:34:53 +03:00
commit 11c8f65af8

View file

@ -80,7 +80,7 @@ $forum_name_html = $forums['forum_name_html'];
$anon = GUEST_UID; $anon = GUEST_UID;
$excluded_forums_csv = $user->get_excluded_forums(AUTH_VIEW); $excluded_forums_csv = $user->get_excluded_forums(AUTH_VIEW);
$excluded_forums_array = explode(',', $excluded_forums_csv); $excluded_forums_array = $excluded_forums_csv ? explode(',', $excluded_forums_csv) : [];
$only_new = $user->opt_js['only_new']; $only_new = $user->opt_js['only_new'];
// Validate requested category id // Validate requested category id