(bug 22115) Explode: Subject does not need to be quoted.

Apply supplied patch by Christopher Baker
This commit is contained in:
Sam Reed 2010-01-16 21:03:38 +00:00
parent bce79e84cb
commit 9e6fd9432e

View file

@ -749,7 +749,6 @@ class ExtParserFunctions {
return $this->tooLongError();
}
$inStr = preg_quote( $inStr, '/' );
$inDiv = preg_quote( $inDiv, '/' );
$matches = preg_split( '/'.$inDiv.'/u', $inStr );
@ -766,4 +765,3 @@ class ExtParserFunctions {
return $result;
}
}