From: Martín Marrese Date: Tue, 26 Aug 2003 20:33:10 +0000 (+0000) Subject: BugFix X-Git-Tag: svn_import~84 X-Git-Url: https://git.llucax.com/mecon/samurai.git/commitdiff_plain/5dcf8b5c022fcab918882187fbfeeecca836e642 BugFix --- 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();