Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Role List Fix
This discussion has been closed.
Comments
[22-Jun-2008 22:01:46] PHP Notice: Undefined offset: 0 in /home/XXXX/public_html/live/public/forums/extensions/RoleListFix/default.php on line 49
[22-Jun-2008 22:01:46] PHP Notice: Undefined index: Account Options in /home/XXXX/public_html/live/public/forums/extensions/RoleListFix/default.php on line 52
[22-Jun-2008 22:01:46] PHP Warning: Invalid argument supplied for foreach() in /home/XXXX/public_html/live/public/forums/extensions/RoleListFix/default.php on line 53
Notice: Undefined offset: 0 in /srv/www/vhosts/myhost.com/httpdocs/forum/extensions/RoleListFix/default.php on line 49
on a applicant's profile page.
if(!$AccountUser || !$Context->Session->User->Name || $rid == $FRL_AdminID || $FRL_Priorities[$rid] > $FRL_Priorities[$AccountUser -> RoleID]) return;
and that seems to do the trick.