summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-05-03 06:06:43 +0000
committeralecpl <alec@alec.pl>2010-05-03 06:06:43 +0000
commite0950945910b95f07b26a43575f8bad5938b7124 (patch)
tree603ae4688a31339c9aa474b1b5d811353d5bcc99 /program
parentb62c4869f7c43804601b7786809e7e7a2508566d (diff)
- don't use deprecated split()
Diffstat (limited to 'program')
-rw-r--r--program/steps/addressbook/copy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/copy.inc b/program/steps/addressbook/copy.inc
index bc082b675..c8076c40e 100644
--- a/program/steps/addressbook/copy.inc
+++ b/program/steps/addressbook/copy.inc
@@ -32,7 +32,7 @@ if ($cid && preg_match('/^[a-z0-9\-_=]+(,[a-z0-9\-_=]+)*$/i', $cid) && strlen($t
$TARGET = $RCMAIL->get_address_book($target);
if ($TARGET && $TARGET->ready && !$TARGET->readonly) {
- $arr_cids = split(',', $cid);
+ $arr_cids = explode(',', $cid);
foreach ($arr_cids as $cid) {
$plugin = $RCMAIL->plugins->exec_hook('create_contact', array('record' => $CONTACTS->get_record($cid, true), 'source' => $target));
$a_record = $plugin['record'];