X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/79cc4f777b6fe9d907ccad24a2fc65246d0253ed..de4cfadb31bf782b45184a44ba02bb73f8cc2f77:/sistema/www/sistemas/sistemas.php
diff --git a/sistema/www/sistemas/sistemas.php b/sistema/www/sistemas/sistemas.php
index 6fb38a5..5bfd70d 100644
--- a/sistema/www/sistemas/sistemas.php
+++ b/sistema/www/sistemas/sistemas.php
@@ -31,8 +31,8 @@ $SAMURAI_PERM->chequear(SAMURAI_DEVELOPER);
$aHrefElim = $aHref.'';
$aHrefPerm = '';
//VEO SI HAY QUE ELEGIR EN QUE SISTEMA TRABAJAR {{{
- if (!@$_SESSION['samurai']['id_sistema'] || !@$_SESSION['samurai']['login']) {
- header('Location: ./../sel-sistema');
+ if (!@$_SESSION['samurai']['id_sistema']) {
+ header('Location: ./../sel-sistema?redirect=sistemas/sistemas');
}
// }}}