summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-08-26 16:02:48 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-08-26 16:02:48 +0200
commit0edda900aa7730d677390edffa0bdd7cab736e1d (patch)
tree4aaa25c59c458989371aa090fe70bfb9462d2a3c
parentc114d4c4a0ef8fa3f244e09219868b02f6c01c67 (diff)
downloadrpg-0edda900aa7730d677390edffa0bdd7cab736e1d.tar.gz
rpg-0edda900aa7730d677390edffa0bdd7cab736e1d.tar.bz2
replace deprecated split calls FS#2583
-rw-r--r--_test/core/phpQuery-onefile.php2
-rw-r--r--lib/plugins/config/settings/config.class.php2
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);
}