diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-01 08:09:40 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-01 08:09:40 +0000 |
| commit | a4f79cec4149dd806f0cb93368383fc3d65dff4c (patch) | |
| tree | ba0cafdd63c965b4c4a3465c70234b1a94d22a3f | |
| parent | 1596754b67a84823ef86b171faeae56aacc8560c (diff) | |
- use explode() instead of deprecated in php5.3 split()
git-svn-id: https://svn.roundcube.net/trunk@2587 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/include/rcube_contacts.php | 2 | ||||
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_contacts.php b/roundcubemail/program/include/rcube_contacts.php index f440e5f8a..7b6a2c4cf 100644 --- a/roundcubemail/program/include/rcube_contacts.php +++ b/roundcubemail/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/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 1e2ac0059..fe2f770f2 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/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; |
