Bug report: badge_class error
BotB Academy Bug Reports and Feature Requests
 
 
86387
Level 12 Chipist
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
 
 
86391
Level 12 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!
 
 
86702
Level 26 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!