With named parameter

This commit is contained in:
jf-cbd
2026-04-10 11:43:17 +02:00
parent f96a99de79
commit 8308535a59

View File

@@ -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 '';