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

@@ -118,8 +118,8 @@ class plg_chout_SWREG_ADVANCED extends base_checkout_plugin
echo '<script language=Javascript>alert(\'SSL Failed!\') </script>';
return false;
} else {
foreach(split("&",$response) as $pair) {
list($key,$val)=split("=",$pair);
foreach(explode("&",$response) as $pair) {
list($key,$val)=explode("=",$pair);
$swreg[$key]=$val;
}
}