From 0edda900aa7730d677390edffa0bdd7cab736e1d Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sun, 26 Aug 2012 16:02:48 +0200
Subject: [PATCH] replace deprecated split calls FS#2583

---
 _test/core/phpQuery-onefile.php              | 2 +-
 lib/plugins/config/settings/config.class.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/_test/core/phpQuery-onefile.php b/_test/core/phpQuery-onefile.php
index 4c1dfa3da..402cf8e49 100644
--- a/_test/core/phpQuery-onefile.php
+++ b/_test/core/phpQuery-onefile.php
@@ -4206,7 +4206,7 @@ class phpQueryObject
                     .($node->getAttribute('id')
                         ? '#'.$node->getAttribute('id'):'')
                     .($node->getAttribute('class')
-                        ? '.'.join('.', split(' ', $node->getAttribute('class'))):'')
+                        ? '.'.join('.', explode(' ', $node->getAttribute('class'))):'')
                     .($node->getAttribute('name')
                         ? '[name="'.$node->getAttribute('name').'"]':'')
                     .($node->getAttribute('value') && strpos($node->getAttribute('value'), '<'.'?php') === false
diff --git a/lib/plugins/config/settings/config.class.php b/lib/plugins/config/settings/config.class.php
index 29d21f8a3..8c48018d7 100644
--- a/lib/plugins/config/settings/config.class.php
+++ b/lib/plugins/config/settings/config.class.php
@@ -548,7 +548,7 @@ if (!class_exists('setting_email')) {
         if ($value == $input) return false;
 
         if ($this->_multiple) {
-            $mails = array_filter(array_map('trim', split(',', $input)));
+            $mails = array_filter(array_map('trim', explode(',', $input)));
         } else {
             $mails = array($input);
         }
-- 
GitLab