[Mapbender-commits] r9467 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu May 19 00:51:40 PDT 2016


Author: armin11
Date: 2016-05-19 00:51:40 -0700 (Thu, 19 May 2016)
New Revision: 9467

Modified:
   trunk/mapbender/http/php/mod_wmc2ol.php
Log:
Bugfix

Modified: trunk/mapbender/http/php/mod_wmc2ol.php
===================================================================
--- trunk/mapbender/http/php/mod_wmc2ol.php	2016-05-19 07:39:55 UTC (rev 9466)
+++ trunk/mapbender/http/php/mod_wmc2ol.php	2016-05-19 07:51:40 UTC (rev 9467)
@@ -860,7 +860,7 @@
 
 createOlfromWMC_id($_GET["wmc_id"], $pointRadius, $fillColor);
 
-if (strpos($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST']) === false {
-	$admin->logClientUsage('test', $wmc_id, 1);
+if (strpos($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST']) === false) {
+	$admin->logClientUsage($_SERVER['HTTP_REFERER'], $wmc_id, 1);
 }
 ?>



More information about the Mapbender_commits mailing list