diff options
author | alecpl <alec@alec.pl> | 2012-01-13 11:37:00 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-01-13 11:37:00 +0000 |
commit | 9ac31a6123b07818448a0927c3b1bfe11c46ed09 (patch) | |
tree | b1e052ad9baf6abd9875080f0bb033c6bacf9f5b | |
parent | 3c36bcc3293e1c3eb8d187c3e07014527f012ccf (diff) |
- Fix wrong variable name in rcube_ldap.php (#1488302)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/include/rcube_ldap.php | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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)); |