summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-01 08:09:40 +0000
committeralecpl <alec@alec.pl>2009-06-01 08:09:40 +0000
commit977078372e5183cfc0f0175a211b34e8c6b53583 (patch)
tree1e2941c20f223272414753333a84ea955e167d92 /program/include
parentd51c93b43e4b24b56e5c225154be4a60fcb418c6 (diff)
- use explode() instead of deprecated in php5.3 split()
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_contacts.php2
-rw-r--r--program/include/rcube_imap.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php
index f440e5f8a..7b6a2c4cf 100644
--- a/program/include/rcube_contacts.php
+++ b/program/include/rcube_contacts.php
@@ -154,7 +154,7 @@ class rcube_contacts extends rcube_addressbook
{
if ($col == 'ID' || $col == $this->primary_key)
{
- $ids = !is_array($value) ? split(',', $value) : $value;
+ $ids = !is_array($value) ? explode(',', $value) : $value;
$add_where[] = $this->primary_key.' IN ('.join(',', $ids).')';
}
else if ($strict)
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 1e2ac0059..fe2f770f2 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -303,7 +303,7 @@ class rcube_imap
if (is_array($str) && $msgs == null)
list($str, $msgs, $charset, $sort_field) = $str;
if ($msgs != null && !is_array($msgs))
- $msgs = split(',', $msgs);
+ $msgs = explode(',', $msgs);
$this->search_string = $str;
$this->search_set = $msgs;