LSldapObject : fixed bug in loadData() method that does not clear the object cache.
authorBenjamin Renard <brenard@aconit.easter-eggs.fr>
Mon, 26 Apr 2010 12:08:56 +0000 (14:08 +0200)
committerBenjamin Renard <brenard@aconit.easter-eggs.fr>
Mon, 26 Apr 2010 12:08:56 +0000 (14:08 +0200)
public_html/includes/class/class.LSldapObject.php

index 8855419..abba36f 100644 (file)
@@ -98,6 +98,7 @@ class LSldapObject {
         if(!$this -> attrs[$attr_name] -> loadData($data[$attr_name]))
           return;
       }
+      $this->cache=array();
       return true;
     }
     return;