Skip to content
Snippets Groups Projects
Commit 0edda900 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

replace deprecated split calls FS#2583

parent c114d4c4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment