PDA

View Full Version : Usergroups with <> in title don't appear on usergroups' list


Martz
Sun 15th Jun '03, 9:49am
Indeed
Goes hand in hand.. but I havn't found a way for a leader to even find who's in their usergroup. :(

Also, secondary usergroups do not appear in the usergroup options part of a users profile in the admin CP, if they have <> around their name, we had one called <)c0(> which is causing issues.

Freddie Bingham
Sun 15th Jun '03, 11:19am
Edit admincp/usergroup.php, line 680

Change:
$cell[] = "<b>$usergroup[title]" . iif($usergroup['canoverride'], '*') . "</b>" . iif($usergroup['ispublicgroup'], '<br /><span class="smallfont">' . $usergroup['description'] . '</span>');
to
$cell[] = '<b> ' . htmlspecialchars_uni($usergroup['title']) . iif($usergroup['canoverride'], '*') . "</b>" . iif($usergroup['ispublicgroup'], '<br /><span class="smallfont">' . $usergroup['description'] . '</span>');