Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 294f7c4

Browse files
committed
fix: updateUes - attr initialization from null to []
1 parent f201a15 commit 294f7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/updateUes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function getAttributesToUpdate($attributesFromPerun, $attrMap, $serializedAttrib
212212
$attrName = $attribute[NAME];
213213

214214
$attr = !empty($attributesFromIdP[$attrMap[$attrName]]) ?
215-
$attributesFromIdP[$attrMap[$attrName]] : null;
215+
$attributesFromIdP[$attrMap[$attrName]] : [];
216216

217217
// appendOnly && has value && (complex || serialized)
218218
if (in_array($attrName, $appendOnlyAttrs, true) &&

0 commit comments

Comments
 (0)