mirror of https://github.com/BOINC/boinc.git
subs should be empty by default, not null
This commit is contained in:
parent
af2bf980d8
commit
153577c77d
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue