Skip to content

Commit

Permalink
Merge pull request #5853 from CallMeFoxie/cmf/fixuser
Browse files Browse the repository at this point in the history
subs should be empty by default, not null
  • Loading branch information
davidpanderson authored Oct 22, 2024
2 parents cdedb8a + 153577c commit c706428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/user/forum_forum.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c706428

Please sign in to comment.