[Mapbender-commits] r2776 - branches/2.5/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Aug 13 13:07:20 EDT 2008
Author: astrid_emde
Date: 2008-08-13 13:07:19 -0400 (Wed, 13 Aug 2008)
New Revision: 2776
Modified:
branches/2.5/http/php/mod_meetingPoint.php
Log:
http://trac.osgeo.org/mapbender/ticket/268#comment:3
* use of global variable $e_id
* refer to $e_target[0] instead of $e_target
Modified: branches/2.5/http/php/mod_meetingPoint.php
===================================================================
--- branches/2.5/http/php/mod_meetingPoint.php 2008-08-13 15:36:33 UTC (rev 2775)
+++ branches/2.5/http/php/mod_meetingPoint.php 2008-08-13 17:07:19 UTC (rev 2776)
@@ -27,7 +27,7 @@
<?php
include '../include/dyn_css.php';
-$sql = "SELECT DISTINCT e_target FROM gui_element WHERE e_id = '".$_REQUEST["e_id_css"]."' AND fkey_gui_id = $1";
+$sql = "SELECT DISTINCT e_target FROM gui_element WHERE e_id = '".$e_id."' AND fkey_gui_id = $1";
$v = array($gui_id);
$t = array('s');
@@ -44,7 +44,7 @@
<!--
<?php
include('../include/dyn_js.php');
-echo "var mod_meetingPoint_target = '".$e_target."';";
+echo "var mod_meetingPoint_target = '".$e_target[0]."';";
echo "var meetingPoint_write_to = 'meetingPoint';";
?>
try{
More information about the Mapbender_commits
mailing list