We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c36b54 commit 737f0adCopy full SHA for 737f0ad
resources/lib/UnityLDAP.php
@@ -322,6 +322,17 @@ public function getAllPIGroupOwnerAttributes($attributes)
322
unset($owner_attributes[$i]);
323
}
324
325
+ $owner_attributes = array_values($owner_attributes); // reindex
326
+ $owners_not_found = array_diff(
327
+ $owner_uids,
328
+ array_map(fn($x) => $x["uid"][0], $owner_attributes)
329
+ );
330
+ if (count($owners_not_found) > 0) {
331
+ UnitySite::errorLog(
332
+ "warning",
333
+ "PI group owners not found: " . json_encode($owners_not_found) . "\n"
334
335
+ }
336
return $owner_attributes;
337
338
0 commit comments