X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/8696c036b17b561f3b6afb9a56e0d5839b8b9972..79ef65118eefbd09cf3007abb74b3b9e18ebb88e:/sistema/www/perfiles/perfiles-abm.php diff --git a/sistema/www/perfiles/perfiles-abm.php b/sistema/www/perfiles/perfiles-abm.php index 3354c6f..001aae0 100644 --- a/sistema/www/perfiles/perfiles-abm.php +++ b/sistema/www/perfiles/perfiles-abm.php @@ -44,13 +44,14 @@ $SAMURAI_PERM->chequear(SAMURAI_ALTA_PERFIL,SAMURAI_BAJA_PERFIL,SAMURAI_MODI_PER } $FORM = new MECON_HTML_QuickForm ('perfiles_abm','post','perfiles-abm'); $SISTEMA = new SAMURAI_Sistema ($DB, $_SESSION['samurai']['id_sistema']); - $PERFIL = new SAMURAI_Perfil ($DB, $id_perfil); + $PERFIL = new SAMURAI_Perfil ($DB, $id_perfil, + $_SESSION['samurai']['id_sistema']); if ($PERFIL->getResponsable()) { $responsable = $PERFIL->getResponsable(); } else { - $responsable = $_SESSION['samurai']['login']; + $responsable = $_SESSION['usuario']; } if (!@$_GET['id_perfil']) {