1 (edited by 2009-03-31 06:02:53)

Topic: [BUG] Commenters can't save 'personal options'

$matches[1] Commenters can't save 'personal options'
$matches[1] FUNimations
$matches[1] 1.3.6 - * (no incompatibility reported yet)
$matches[1] Registered users with a 'commenter' userlevel are presumed to change their 'personal options'. However due to a fault in the code, commenters can't access the page where the new information is saved.
$matches[1]
in /inc/options.mdu find

if($member_db[1] == 4 and ($action != 'personal' and $action != 'options')){ msg('error', 'Error!', 'Access Denied for your user-level (commenter)'); }


replace with

if($member_db[1] == 4 and (!in_array($action, array('personal','options','dosavepersonal')))){ msg('error', 'Error!', 'Access Denied for your user-level (commenter)'); }