svn commit: r398 - trunk/mapbender/http/php/mod_help.php

uli at osgeo.org uli at osgeo.org
Fri Jun 9 08:10:46 EDT 2006


Author: uli
Date: 2006-06-09 12:10:45+0000
New Revision: 398

Modified:
   trunk/mapbender/http/php/mod_help.php

Log:
only public elements should be considered

Modified: trunk/mapbender/http/php/mod_help.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_help.php?view=diff&rev=398&p1=trunk/mapbender/http/php/mod_help.php&p2=trunk/mapbender/http/php/mod_help.php&r1=397&r2=398
==============================================================================
--- trunk/mapbender/http/php/mod_help.php	(original)
+++ trunk/mapbender/http/php/mod_help.php	2006-06-09 12:10:45+0000
@@ -41,7 +41,7 @@
 	str += "<map name='mod_help_imagemap'>";
 	<?php
 	$gui_id = $_REQUEST["gui_id"];
-	$sql = "SELECT * FROM gui_element WHERE fkey_gui_id = $1 AND e_url <> ''";
+	$sql = "SELECT * FROM gui_element WHERE fkey_gui_id = $1 AND e_url <> '' AND e_public = 1";
 	$v = array($gui_id);
 	$t = array('s');
 	$res = db_prep_query($sql, $v, $t);




More information about the Mapbender_commits mailing list