summaryrefslogtreecommitdiff
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
parent3c36bcc3293e1c3eb8d187c3e07014527f012ccf (diff)
- Fix wrong variable name in rcube_ldap.php (#1488302)
-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));