From 5dcf8b5c022fcab918882187fbfeeecca836e642 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Tue, 26 Aug 2003 20:33:10 +0000 Subject: [PATCH] BugFix --- lib/SAMURAI/HTML/Perfil.php | 3 +++ lib/SAMURAI/HTML/Usuario.php | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/lib/SAMURAI/HTML/Perfil.php b/lib/SAMURAI/HTML/Perfil.php index 8abccbb..f19b04b 100644 --- a/lib/SAMURAI/HTML/Perfil.php +++ b/lib/SAMURAI/HTML/Perfil.php @@ -56,6 +56,9 @@ require_once 'PEAR.php'; //SAMURAI_Perfil_Html {{{ function SAMURAI_Perfil_Html(&$MARCO, $id_sistema) { + $_SESSION['samurai']['id_sistema'] = $id_sistema; + $_SESSION['samurai']['login'] = $_SESSION['usuario']; + //INICIALIZO OBJETOS GENERALES {{{ //REALIZO CONEXION $tmp = new SAMURAI_DB(); diff --git a/lib/SAMURAI/HTML/Usuario.php b/lib/SAMURAI/HTML/Usuario.php index 26b988f..a428020 100644 --- a/lib/SAMURAI/HTML/Usuario.php +++ b/lib/SAMURAI/HTML/Usuario.php @@ -48,6 +48,10 @@ */ //SAMURAI_Usuario_Html {{{ function SAMURAI_Usuario_Html(&$MARCO, $id_sistema) { + + $_SESSION['samurai']['id_sistema'] = $id_sistema; + $_SESSION['samurai']['login'] = $_SESSION['usuario']; + //INICIALIZO OBJETOS GENERALES {{{ //REALIZO CONEXION $tmp = new SAMURAI_DB(); -- 2.43.0