Project

General

Profile

Bug #2114 » 2114_controller.user.patch

krileon, 01 December 2010 15:56

View differences:

administrator/components/com_comprofiler/controller/controller.user.php
$_POST['id'] = null;
}
$adminGroups = $_CB_framework->acl->mapGroupNamesToValues( array( 'Administrator', 'Superadministrator' ) );
$adminGroups = $_CB_framework->acl->mapGroupNamesToValues( array( 'administrator', 'super administrator' ) );
if ( $userIdPosted != 0 ) {
$msg = checkCBpermissions( array( $userIdPosted ), 'save', in_array( $myGid, $adminGroups ) );
(4-4/5)