Fix determining the UUID attribute, default of the override is null
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
b740a21399
commit
f87812fdd6
|
@ -1473,7 +1473,7 @@ class Access extends LDAPUtility implements IUserTools {
|
|||
return true;
|
||||
}
|
||||
|
||||
if ($uuidOverride !== '' && !$force) {
|
||||
if (is_string($uuidOverride) && trim($uuidOverride) !== '' && !$force) {
|
||||
$this->connection->$uuidAttr = $uuidOverride;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue