Out with split(), in with explode()

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

View File

@@ -85,10 +85,10 @@ class plg_chout_NETBILLING extends base_checkout_plugin
$ret['status'] = 1;
} elseif (eregi("RET_STATUS=0",$response)) {
$ret['status'] = 0;
$mydata = split("\&",$response);
$mydata = explode("\&",$response);
foreach($mydata as $key=>$value)
{
$newdata = split('=', $value);
$newdata = explode('=', $value);
$ret[$newdata[0]] = $newdata[1];
}
$reason = urldecode($ret['RET_AUTH_MSG']);