From d82f21feff7245195d7dcb660704c2211fca025d Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 4 Jul 2005 16:44:36 +0000 Subject: [PATCH] reordered some lines because PHP5 is more strict on using "unset" --- lam/lib/cache.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lam/lib/cache.inc b/lam/lib/cache.inc index 446edf23..0b4ab218 100644 --- a/lam/lib/cache.inc +++ b/lam/lib/cache.inc @@ -179,16 +179,16 @@ class cache { while ($entry) { $dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); + // unset double entries + for ($i=0; $i