incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r814727 - /incubator/olio/webapp/php/trunk/classes/Geocoder.php
Date Mon, 14 Sep 2009 16:28:43 GMT
Author: shanti
Date: Mon Sep 14 16:28:43 2009
New Revision: 814727

URL: http://svn.apache.org/viewvc?rev=814727&view=rev
Log:
Fix for OLIO-117.

Modified:
    incubator/olio/webapp/php/trunk/classes/Geocoder.php

Modified: incubator/olio/webapp/php/trunk/classes/Geocoder.php
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/php/trunk/classes/Geocoder.php?rev=814727&r1=814726&r2=814727&view=diff
==============================================================================
--- incubator/olio/webapp/php/trunk/classes/Geocoder.php (original)
+++ incubator/olio/webapp/php/trunk/classes/Geocoder.php Mon Sep 14 16:28:43 2009
@@ -33,7 +33,7 @@
         $stream = $this->curl_string($url);
         $xmlBegin= strpos($stream, '<?xml');
         if(!$xmlBegin)
-            throw new Exception('Did not find xml part in: $stream');
+            throw new Exception("Did not find xml part in: $stream");
         $xmlString = substr($stream, $xmlBegin);
         $xml = simplexml_load_string($xmlString);
         $this->latitude = $xml->Result->Latitude;



Mime
View raw message