subs should be empty by default, not null

This commit is contained in:
Ashley CallMeFoxie 2024-10-22 11:33:18 +02:00
parent af2bf980d8
commit 153577c77d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function forum_page($forum, $user, $msg=null) {
$start = get_int("start", true);
if (!$start) $start = 0;
$subs = null;
$subs = [];
if ($user) {
BoincForumPrefs::lookup($user);
$subs = BoincSubscription::enum("userid=$user->id");