[Mapbender-commits] r6779 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Aug 20 09:47:27 EDT 2010
Author: christoph
Date: 2010-08-20 13:47:27 +0000 (Fri, 20 Aug 2010)
New Revision: 6779
Modified:
trunk/mapbender/lib/class_Filter.php
Log:
Modified: trunk/mapbender/lib/class_Filter.php
===================================================================
--- trunk/mapbender/lib/class_Filter.php 2010-08-20 12:58:53 UTC (rev 6778)
+++ trunk/mapbender/lib/class_Filter.php 2010-08-20 13:47:27 UTC (rev 6779)
@@ -82,7 +82,8 @@
$sqlObject->t = array_merge($sqlObject->t, $currentSqlObject->t);
$i += count($currentSqlObject->v);
}
- $sqlObject->sql = "(" . $sqlObject->sql . ")";
+ $sqlObject->sql = $sqlObject->sql !== "" ?
+ "(" . $sqlObject->sql . ")" : $sqlObject->sql;
return $sqlObject;
}
else {
More information about the Mapbender_commits
mailing list