Mark Scherer 9 years ago
parent
commit
4105422c9c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Vendor/Soros/Soros.php

+ 2 - 1
Vendor/Soros/Soros.php

@@ -60,7 +60,8 @@ class Soros {
 			$source = str_replace("__numbertext__", "0+(0|[1-9]\\d*) $1\n", $source);
 		}
 
-		foreach (split(";", $source) as $s) {
+		$pieces = explode(";", $source);
+		foreach ($pieces as $s) {
 			if ($s != "" && preg_match("/^\\s*(\"[^\"]*\"|[^\\s]*)\\s*(.*[^\\s])?\\s*$/", $s, $sp) > 0) {
 				$s = self::translate(preg_replace("/\"$/", "", preg_replace("/^\"/", "", $sp[1], 1), 1), $this->c, $this->m, "");
 				$s = str_replace($this->slash[0], "\\\\", $s);