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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jun 25 05:35:44 EDT 2009


Author: vera
Date: 2009-06-25 05:35:43 -0400 (Thu, 25 Jun 2009)
New Revision: 4186

Modified:
   trunk/mapbender/http/php/mod_map1.php
Log:
session var angepasst

Modified: trunk/mapbender/http/php/mod_map1.php
===================================================================
--- trunk/mapbender/http/php/mod_map1.php	2009-06-25 09:34:13 UTC (rev 4185)
+++ trunk/mapbender/http/php/mod_map1.php	2009-06-25 09:35:43 UTC (rev 4186)
@@ -32,7 +32,7 @@
 <title>mod_map1</title>
 <?php
 $sql = "SELECT e_width, e_height FROM gui_element WHERE e_id = 'mapframe1' AND fkey_gui_id = $1";
-$v = array($_SESSION["mb_user_gui"]);
+$v = array(Mapbender::session()->get("mb_user_id"));
 $t = array("s");
 $res = db_prep_query($sql, $v, $t);
 $cnt = 0;



More information about the Mapbender_commits mailing list