Bug report: badge_class error
BotB Academy Bug Reports and Feature Requests
Level 20 Mixist
post #86387 :: 2017.06.17 5:28pm
i don't have badges but when i went to my profile after an ohb it gave this error at the top of the page:

Warning: Invalid argument supplied for foreach() in /home/puke7/botb/whats/badge/badge_class.php on line 23
Level 17 Mixist
post #86391 :: 2017.06.17 8:50pm
Been there for a while.

It'll disappear when you get a badge.

Or get less n00bish!
Level 27 Hostist
post #86702 :: 2017.06.22 11:01pm
Added a check for an empty badge array in botbr info. This should negate the error message on profiles. Pretty sure this can happen somewhere between after a first entry is submitted and before the first badge is earned.

LOGIN or REGISTER to add your own comments!