summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-01-13 11:37:00 +0000
committeralecpl <alec@alec.pl>2012-01-13 11:37:00 +0000
commit9ac31a6123b07818448a0927c3b1bfe11c46ed09 (patch)
treeb1e052ad9baf6abd9875080f0bb033c6bacf9f5b /program
parent3c36bcc3293e1c3eb8d187c3e07014527f012ccf (diff)
- Fix wrong variable name in rcube_ldap.php (#1488302)
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_ldap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 65ec46304..978c4e7e4 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -1234,9 +1234,9 @@ class rcube_ldap extends rcube_addressbook
$attrs, 0, (int)$this->prop['sizelimit'], (int)$this->prop['timelimit'])
) {
$entries_count = ldap_count_entries($this->conn, $this->ldap_result);
- $this->_debug("S: $count_entries record(s)");
+ $this->_debug("S: $entries_count record(s)");
- return $count ? $count_entries : true;
+ return $count ? $entries_count : true;
}
else {
$this->_debug("S: ".ldap_error($this->conn));