[Mapbender-commits] r2438 - branches/2.5/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed May 7 16:53:50 EDT 2008


Author: astrid_emde
Date: 2008-05-07 16:53:50 -0400 (Wed, 07 May 2008)
New Revision: 2438

Modified:
   branches/2.5/http/php/mod_meetingPoint.php
Log:
in process of validatesession some rows whre vanished which are needed
There is an sql which gets e_target. Added this sql to the code again

Modified: branches/2.5/http/php/mod_meetingPoint.php
===================================================================
--- branches/2.5/http/php/mod_meetingPoint.php	2008-05-07 20:41:53 UTC (rev 2437)
+++ branches/2.5/http/php/mod_meetingPoint.php	2008-05-07 20:53:50 UTC (rev 2438)
@@ -26,6 +26,19 @@
 <title>meetingPoint</title>
 <?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";
+$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'>
 <!--



More information about the Mapbender_commits mailing list