diff options
author | alecpl <alec@alec.pl> | 2011-12-01 12:38:13 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-01 12:38:13 +0000 |
commit | 14b342b03aaedadb67244149e7dea3210c6ac0ed (patch) | |
tree | 3a203cb16538b1a7bc852e0f98809effe64c1f73 /program/include | |
parent | 72ff6ae884dcd00d407354bb9d05418dbf256174 (diff) |
- Fix so connection to LDAP will be properly closed
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 6e07c9a4a..3808c600a 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -453,8 +453,7 @@ class rcmail } // add to the 'books' array for shutdown function - if (!isset($this->address_books[$id])) - $this->address_books[$id] = $contacts; + $this->address_books[$id] = $contacts; return $contacts; } @@ -1214,6 +1213,7 @@ class rcmail $this->smtp->disconnect(); foreach ($this->address_books as $book) { +console('---------------'); if (is_object($book) && is_a($book, 'rcube_addressbook')) $book->close(); } |