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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jun 24 10:59:35 EDT 2009


Author: vera
Date: 2009-06-24 10:59:34 -0400 (Wed, 24 Jun 2009)
New Revision: 4118

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

Modified: trunk/mapbender/http/php/mod_button_tooltips.php
===================================================================
--- trunk/mapbender/http/php/mod_button_tooltips.php	2009-06-24 14:36:43 UTC (rev 4117)
+++ trunk/mapbender/http/php/mod_button_tooltips.php	2009-06-24 14:59:34 UTC (rev 4118)
@@ -22,7 +22,8 @@
 $buttonObj = array();
 
 $sql = "SELECT e_id, gettext($1, e_title) AS e_title FROM gui_element WHERE fkey_gui_id = $2 AND e_element = 'img'";
-$v = array($_SESSION["mb_lang"], $_SESSION["mb_user_gui"]); 
+$v = array(Mapbender::session()->get("mb_lang"), Mapbender::session()->get("mb_user_gui"));
+ 
 $t = array("s", "s");
 $res = db_prep_query($sql, $v, $t);
 while ($row = db_fetch_array($res)) {



More information about the Mapbender_commits mailing list