[Mapbender-commits] r4217 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jun 25 07:14:43 EDT 2009
Author: vera
Date: 2009-06-25 07:14:42 -0400 (Thu, 25 Jun 2009)
New Revision: 4217
Modified:
trunk/mapbender/http/javascripts/mod_tab.php
Log:
session var angepasst
Modified: trunk/mapbender/http/javascripts/mod_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_tab.php 2009-06-25 11:09:07 UTC (rev 4216)
+++ trunk/mapbender/http/javascripts/mod_tab.php 2009-06-25 11:14:42 UTC (rev 4217)
@@ -30,7 +30,7 @@
echo "var tab_titles = [];\n";
for ($i=0; $i < count($tab_ids); $i++) {
$sql = "SELECT gettext($1, e_title) AS e_title FROM gui_element WHERE fkey_gui_id = $2 AND e_id = $3";
- $v = array($_SESSION["mb_lang"], $gui_id, $tab_ids[$i]);
+ $v = array(Mapbender::session()->get("mb_lang"), $gui_id, $tab_ids[$i]);
$t = array("s", "s", "s");
$res = db_prep_query($sql, $v, $t);
$row = db_fetch_array($res);
More information about the Mapbender_commits
mailing list