Quote:
Originally Posted by MarcoH64
Should that OR be an AND?
|
I thought it was just OR, but then again I'm still learning php.
and is he not missing a ( at the beginning.
should be
PHP Code:
if (($postinfo['userid'] != $bbuserinfo[userid] AND !$grps_permissions['groupspostedit']) OR (!$grps_permissions['groupsmoderater']))
{
print_no_permission();
}
I'm sure it was just a typo.