From: hickert Date: Thu, 6 Mar 2008 10:21:56 +0000 (+0000) Subject: Updated ldap search X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7352aea5a4228019220f75a6a2594d41d34ed8df;p=gosa.git Updated ldap search git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9379 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_ldap.inc b/gosa-core/include/class_ldap.inc index 51225d134..f59c332cc 100644 --- a/gosa-core/include/class_ldap.inc +++ b/gosa-core/include/class_ldap.inc @@ -206,7 +206,7 @@ class LDAP{ function checkResult() { /* Check if we have started a search before */ - if(is_resource(@ldap_first_entry($this->cid, $this->sr))){ + if($this->start != 0 && $this->re){ /* Check if there are still unfetched elements */ if(is_resource(@ldap_next_entry($this->cid, $this->re))){