[Mapbender-commits] r9278 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Aug 18 04:24:42 PDT 2015


Author: armin11
Date: 2015-08-18 04:24:42 -0700 (Tue, 18 Aug 2015)
New Revision: 9278

Modified:
   trunk/mapbender/http/plugins/mod_jsonAutocompleteGazetteer.php
Log:
Bugfix for empty element_var

Modified: trunk/mapbender/http/plugins/mod_jsonAutocompleteGazetteer.php
===================================================================
--- trunk/mapbender/http/plugins/mod_jsonAutocompleteGazetteer.php	2015-08-18 09:45:49 UTC (rev 9277)
+++ trunk/mapbender/http/plugins/mod_jsonAutocompleteGazetteer.php	2015-08-18 11:24:42 UTC (rev 9278)
@@ -63,8 +63,10 @@
 if (options.gazetteerUrl === undefined) {
 	options.gazetteerUrl = 'http://ws.geonames.org/searchJSON?lang=de&';
 }
-if (options.isGeonames === undefined) {
+if (options.isGeonames === undefined ) {
 	options.isGeonames = true;
+} else {
+	options.isGeonames = false;
 }
 if (options.latLonZoomExtension === undefined) {
 	options.latLonZoomExtension = 0.1;



More information about the Mapbender_commits mailing list