Out with split(), in with explode()

This commit is contained in:
Tony Landis
2009-03-27 23:20:19 -06:00
parent 019a526aab
commit da32369c07
101 changed files with 639 additions and 639 deletions

View File

@@ -90,13 +90,13 @@ class plg_chout_TRUSTCOMMERCE extends base_checkout_plugin
echo '<script language=Javascript>alert(\'SSL Failed!\') </script>';
return false;
} else {
$response = split("\n", trim($return));
$response = explode("\n", trim($return));
for($i=0; $i<count($response); $i++)
{
if(!empty($response[$i]))
{
unset($thisone);
$thisone = split("=", $response[$i]);
$thisone = explode("=", $response[$i]);
$varr[$thisone[0]] = $thisone[1];
}
}