mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 09:49:16 +02:00
refactoring
This commit is contained in:
parent
7b36847917
commit
15a447f23d
1 changed files with 1 additions and 1 deletions
|
@ -1945,7 +1945,7 @@ abstract class baseModule {
|
|||
}
|
||||
$valuesOld = $attributes[$ldapAttrName] ?? [];
|
||||
$intersect = array_intersect($valuesOld, $valuesNew);
|
||||
if ((count($valuesOld) !== count($valuesNew)) || (count($intersect) != count($valuesOld))) {
|
||||
if ((count($valuesOld) !== count($valuesNew)) || (count($intersect) !== count($valuesOld))) {
|
||||
$container['mod'][$ldapAttrName] = $valuesNew;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue