Skip to content

Commit cadc42e

Browse files
committed
Remove duplicates before printing
1 parent 58d097f commit cadc42e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Auth/Process/AttributeAddUsersGroups.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ protected function getGroups(array $attributes): array
313313
Logger::notice(sprintf(
314314
'%s : The return attribute [%s] could not be found in the entry. %s',
315315
$this->title,
316-
implode(', ', [$map['return'], strtolower($map['return']), 'dn']),
317-
$this->varExport($entry),
316+
array_unique(implode(', ', [$map['return'], strtolower($map['return'])])),
317+
$entry->getDn(),
318318
));
319319
}
320320

0 commit comments

Comments
 (0)