summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG1
-rw-r--r--program/include/rcube_ldap.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index a00f51050..44b78af6c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix wrong variable name in rcube_ldap.php (#1488302)
- Make mime type detection based on filename extension to be case-insensitive
- Fix failure on MySQL database upgrade from 0.7 - text column can't have default value (#1488300)
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));