mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-25 03:19:08 +01:00
LSaddon::accesslog: Fix infinity loop problem handling entry renaming event with the same DN
This commit is contained in:
parent
2de8c720b5
commit
1639001a3c
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ function getEntryAccessLog($dn, $start_date=null, $include_ldapsaisie=true) {
|
|||
foreach($entries as $entry) {
|
||||
mapAccessLogEntry($entry);
|
||||
$logs[] = $entry;
|
||||
if (isset($entry['new_dn'])) {
|
||||
if (isset($entry['new_dn']) && $entry['new_dn'] != $dn) {
|
||||
$new_dn = $entry['new_dn'];
|
||||
$rename_date = LSldap::formatDate($entry['start']);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue