From: <tim...@us...> - 2010-03-13 16:11:12
|
Revision: 3381 http://web-erp.svn.sourceforge.net/web-erp/?rev=3381&view=rev Author: tim_schofield Date: 2010-03-13 16:11:06 +0000 (Sat, 13 Mar 2010) Log Message: ----------- Tim: Suppliers.php - Remove deprecated split() function Modified Paths: -------------- trunk/Suppliers.php trunk/doc/Change.log.html Modified: trunk/Suppliers.php =================================================================== --- trunk/Suppliers.php 2010-03-13 15:42:22 UTC (rev 3380) +++ trunk/Suppliers.php 2010-03-13 16:11:06 UTC (rev 3381) @@ -396,7 +396,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]; @@ -406,7 +406,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 15:42:22 UTC (rev 3380) +++ trunk/doc/Change.log.html 2010-03-13 16:11:06 UTC (rev 3381) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></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> <p>13/03/10 Phil: GLAccountReport.php - creates a pdf for GL account listings for any selected range of accounts and periods</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |