summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/copy.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-08-15 20:28:01 +0000
committerthomascube <thomas@roundcube.net>2007-08-15 20:28:01 +0000
commit6b603da6f16591b63f809ef967554d260bd0d891 (patch)
treeb941a1e65acd1f9b49e5a34ea277c4b6a388d765 /program/steps/addressbook/copy.inc
parent88f66ec89cf87328536757ac33e508a9614bdc09 (diff)
LDAP improvements
Diffstat (limited to 'program/steps/addressbook/copy.inc')
-rw-r--r--program/steps/addressbook/copy.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/steps/addressbook/copy.inc b/program/steps/addressbook/copy.inc
index e6d917e92..af8b87c40 100644
--- a/program/steps/addressbook/copy.inc
+++ b/program/steps/addressbook/copy.inc
@@ -36,8 +36,11 @@ if ($cid && preg_match('/^[a-z0-9\-_=]+(,[a-z0-9\-_=]+)*$/i', $cid) && strlen($t
$OUTPUT->show_message('copyerror', 'error');
else
$OUTPUT->show_message('copysuccess', 'notice', array('nr' => count($success)));
+
+ // close connection to second address directory
+ $TARGET->close();
}
-
+
// send response
$OUTPUT->send();