Closed ghost closed 6 years ago
The validation function is now available in the core
class and called after new badges are added to the openra_user_badges
table when the user submits the selected badges in the Select badges
UCP tab. Function is called again when the Order badges
tab is loaded which is only a fallback in case the admin deleted badges that have been in the openra_user_badges
(and were deleted too from there).
Having
badge_order = null
until theOrder badges
page is loaded is not good and causes the counter forBade used by users:
to fail as it only considers order values <= 5 / the setting for max badges.