[fusion-commits] r2399 - trunk/layers/MapServer/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Jun 3 14:56:58 EDT 2011


Author: madair
Date: 2011-06-03 11:56:58 -0700 (Fri, 03 Jun 2011)
New Revision: 2399

Modified:
   trunk/layers/MapServer/php/Query.php
Log:
re #71: suppress warning messages for no matching records

Modified: trunk/layers/MapServer/php/Query.php
===================================================================
--- trunk/layers/MapServer/php/Query.php	2011-06-02 19:11:59 UTC (rev 2398)
+++ trunk/layers/MapServer/php/Query.php	2011-06-03 18:56:58 UTC (rev 2399)
@@ -251,7 +251,7 @@
     {
         $oCenterPoint = ms_newpointobj();
         $oPoint = $oSpatialFilter->getCentroid();
-        $status = $oLayer->queryByPoint($oPoint, MS_SINGLE, -1);
+        $status = @$oLayer->queryByPoint($oPoint, MS_SINGLE, -1);
     }
     else {
       $status = @$oLayer->queryByShape($oSpatialFilter);



More information about the fusion-commits mailing list