From 681e9e6f1ae84974fb3e3fb11af7f783152c785d Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 19 Sep 2011 09:46:35 -0400
Subject: [PATCH] - Don't set (wrong) error on groups listing action

---
 program/include/rcube_ldap.php |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 870f3e9..196d398 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -1109,7 +1109,6 @@
         if ($res === false)
         {
             $this->_debug("S: ".ldap_error($this->conn));
-            $this->set_error(self::ERROR_SAVING, 'errorsaving');
             return array();
         }
 
@@ -1329,7 +1328,6 @@
         if ($res === false)
         {
             $this->_debug("S: ".ldap_error($this->conn));
-            $this->set_error(self::ERROR_SAVING, 'errorsaving');
             return array();
         }
         $ldap_data = ldap_get_entries($this->conn, $res);

--
Gitblit v1.9.1