From 2abff6038048e96dae6d0136297837b41741b332 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 21 Feb 2017 13:30:53 +0100 Subject: [PATCH] Fixed code --- pandora_console/general/pandora_help.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/general/pandora_help.php b/pandora_console/general/pandora_help.php index 23e4582948..aa15e3107e 100644 --- a/pandora_console/general/pandora_help.php +++ b/pandora_console/general/pandora_help.php @@ -32,12 +32,12 @@ require_once ("../include/functions_html.php"); $id = get_parameter ('id'); -if (! isset($_SESSION[$config['homeurl_static']]['id_usuario'])) { +if (! isset($_SESSION['id_usuario'])) { session_start(); session_write_close(); } -$user_language = get_user_language ($_SESSION[$config['homeurl_static']]['id_usuario']); +$user_language = get_user_language ($_SESSION['id_usuario']); if (file_exists ('../include/languages/'.$user_language.'.mo')) { $l10n = new gettext_reader (new CachedFileReader ('../include/languages/'.$user_language.'.mo'));