diff --git a/html/user/forum_forum.php b/html/user/forum_forum.php index 201d5c58e8..f75d794866 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");