From: <tim...@us...> - 2010-03-13 16:14:41
|
Revision: 3382 http://web-erp.svn.sourceforge.net/web-erp/?rev=3382&view=rev Author: tim_schofield Date: 2010-03-13 16:14:34 +0000 (Sat, 13 Mar 2010) Log Message: ----------- Tim: CustomerBranches.php - Remove deprecated split() function Modified Paths: -------------- trunk/CustomerBranches.php trunk/doc/Change.log.html Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2010-03-13 16:11:06 UTC (rev 3381) +++ trunk/CustomerBranches.php 2010-03-13 16:14:34 UTC (rev 3382) @@ -90,7 +90,7 @@ $_POST['EstDeliveryDays']=1; } if (!isset($latitude)) { - $latitude=0.0; + $latitude=0.0; $longitude=0.0; } if ($_SESSION['geocode_integration']==1 ){ @@ -116,7 +116,7 @@ // $xml = simplexml_load_file($request_url) or die("url not loading"); $coordinates = $xml->Response->Placemark->Point->coordinates; - $coordinatesSplit = split(",", $coordinates); + $coordinatesSplit = explode(",", $coordinates); // Format: Longitude, Latitude, Altitude $latitude = $coordinatesSplit[1]; $longitude = $coordinatesSplit[0]; @@ -126,7 +126,7 @@ // Successful geocode $geocode_pending = false; $coordinates = $xml->Response->Placemark->Point->coordinates; - $coordinatesSplit = split(",", $coordinates); + $coordinatesSplit = explode(",", $coordinates); // Format: Longitude, Latitude, Altitude $latitude = $coordinatesSplit[1]; $longitude = $coordinatesSplit[0]; Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-03-13 16:11:06 UTC (rev 3381) +++ trunk/doc/Change.log.html 2010-03-13 16:14:34 UTC (rev 3382) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>13/03/10 Tim: CustomerBranches.php - Remove deprecated split() function</p> <p>13/03/10 Tim: Suppliers.php - Remove deprecated split() function</p> <p>13/03/10 Tim: SuppPriceList.php - Remove deprecated split() function</p> <p>13/03/10 Tim: SupplierContacts.php - Correctly do the while loop to avoid a blank line, and only try to do the database updates when there are no errors</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |