mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
With named parameter
This commit is contained in:
@@ -1350,7 +1350,7 @@ class UserRights
|
||||
if (empty($sLogin)) {
|
||||
$oUser = self::$m_oUser;
|
||||
} else {
|
||||
$oUser = self::FindUser($sLogin, 'any', $bAllowDisabledUsers);
|
||||
$oUser = self::FindUser($sLogin, bAllowDisabledUsers: $bAllowDisabledUsers);
|
||||
}
|
||||
if (is_null($oUser)) {
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user