[Mapbender-commits] r2812 - branches/2.5/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Aug 15 05:15:43 EDT 2008
Author: christoph
Date: 2008-08-15 05:15:43 -0400 (Fri, 15 Aug 2008)
New Revision: 2812
Modified:
branches/2.5/http/php/mod_meetingPoint.php
Log:
bug fix http://trac.osgeo.org/mapbender/ticket/268
Modified: branches/2.5/http/php/mod_meetingPoint.php
===================================================================
--- branches/2.5/http/php/mod_meetingPoint.php 2008-08-15 08:54:51 UTC (rev 2811)
+++ branches/2.5/http/php/mod_meetingPoint.php 2008-08-15 09:15:43 UTC (rev 2812)
@@ -26,25 +26,12 @@
<title>meetingPoint</title>
<?php
include '../include/dyn_css.php';
-
-$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');
-
-$res = db_prep_query($sql, $v, $t);
-$cnt = 0;
-while($row = db_fetch_array($res)){
- $e_target[$cnt] = $row["e_target"];
- $cnt++;
-}
-
-
?>
<script language='JavaScript'>
<!--
<?php
include('../include/dyn_js.php');
-echo "var mod_meetingPoint_target = '".$e_target[0]."';";
+echo "var mod_meetingPoint_target = '" . $_REQUEST["e_target"] . "';";
echo "var meetingPoint_write_to = 'meetingPoint';";
?>
try{
More information about the Mapbender_commits
mailing list