LSldap::search() : added number of objects returned in a debug message
authorBenjamin Renard <bn8@zionetrix.net>
Thu, 2 Aug 2012 13:49:52 +0000 (15:49 +0200)
committerBenjamin Renard <bn8@zionetrix.net>
Thu, 2 Aug 2012 13:49:52 +0000 (15:49 +0200)
public_html/includes/class/class.LSldap.php

index 994403a..8e44e56 100644 (file)
@@ -109,6 +109,7 @@ class LSldap {
       LSerror :: addErrorCode('LSldap_02',$ret -> getMessage());
       return;
     }
+    LSdebug("LSldap::search() : return ".$ret->count()." objet(s)");
     $retInfos=array();
     foreach($ret -> entries() as $entry) {
       if (!$entry instanceof Net_LDAP2_Entry) {