Found another one:
PHP Code:
//wesley MOD
// If a group id is specified, but the group doesn't exist, error out
if ($vbulletin->GPC['groupid'])
{
$group = fetch_socialgroupinfo($vbulletin->GPC['groupid']);
if (empty($group)) {
standard_error(fetch_error('invalidid', $vbphrase['social_group'], $vbulletin->options['contactuslink']));
}
else if ($group['type'] == 'inviteonly' && $group['membertype'] != 'member' AND $group['membertype'] != 'invited' && !can_moderate(0, 'caneditsocialgroups'))
{
print_no_permissions();
}
}
//WESLEY MOD
The last line should be:
print_no_permission();
Note that the 's' is removed from permission. I guess this is a 3.8 change?