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

@@ -155,10 +155,10 @@ class plgn_voip_did_MAGRATHEA
$voip = new voip;
$db =& DB();
$entries = split("\r\n", $this->country_area);
$entries = explode("\r\n", $this->country_area);
foreach ($entries as $entry) {
$eparts = split(":", $entry);
$areas = split(",", $eparts[1]);
$eparts = explode(":", $entry);
$areas = explode(",", $eparts[1]);
$bDelete = false;
foreach ($areas as $area) {