mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-25 11:29:06 +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) {
|
foreach($entries as $entry) {
|
||||||
mapAccessLogEntry($entry);
|
mapAccessLogEntry($entry);
|
||||||
$logs[] = $entry;
|
$logs[] = $entry;
|
||||||
if (isset($entry['new_dn'])) {
|
if (isset($entry['new_dn']) && $entry['new_dn'] != $dn) {
|
||||||
$new_dn = $entry['new_dn'];
|
$new_dn = $entry['new_dn'];
|
||||||
$rename_date = LSldap::formatDate($entry['start']);
|
$rename_date = LSldap::formatDate($entry['start']);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue