Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subs should be empty by default, not null #5853

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

CallMeFoxie
Copy link
Contributor

@CallMeFoxie CallMeFoxie commented Oct 22, 2024

Description of the Change
Users not logged in get a

Warning: foreach() argument must be of type array\|object, null given in /home/boinc/whatever/html/inc/forum.inc on line 1420

message because subs is null, not [] by default and it is called so in the foreach.

Release Notes

fix warning when users are not logged in on the forums

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants