From 153577c77ddabc38e8226b2f98aaff97b6ec90d9 Mon Sep 17 00:00:00 2001 From: Ashley CallMeFoxie Date: Tue, 22 Oct 2024 11:33:18 +0200 Subject: [PATCH] subs should be empty by default, not null --- html/user/forum_forum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/user/forum_forum.php b/html/user/forum_forum.php index 201d5c58e81..f75d7948665 100644 --- a/html/user/forum_forum.php +++ b/html/user/forum_forum.php @@ -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");