1
0

* More PHP 5.3.0 compat (split()).

This commit is contained in:
Garvin Hicking
2009-08-25 19:39:17 +00:00
parent 6407727fe6
commit 275589423a
7 changed files with 10 additions and 8 deletions

View File

@ -1432,7 +1432,7 @@ class XML_RPC_Message extends XML_RPC_Base
$r = new XML_RPC_Response($v);
}
}
$r->hdrs = split("\r?\n", $XML_RPC_xh[$parser]['ha'][1]);
$r->hdrs = preg_split("@\r?\n@", $XML_RPC_xh[$parser]['ha'][1]);
return $r;
}
}