summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-04 13:24:28 +0000
committeralecpl <alec@alec.pl>2009-09-04 13:24:28 +0000
commitb24f2c48979b16228d200ff4b8dccc10ec8f8609 (patch)
treee5d1b69d025a6d66cf97802adf6af32bf76b0f1a
parent8678ce85e6e94c9a56ee56afc92a2dffde386b87 (diff)
- return deleted records count instead of true in ldap's delete(), fixes (#1486082)
-rw-r--r--program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 71476ced7..016509cc7 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -546,7 +546,7 @@ class rcube_ldap extends rcube_addressbook
} // end if
} // end foreach
- return true;
+ return count($dns);
}