X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/e06899a60cc1bda43249f61aff28f99224b8013f..b49bcec7b53d0fef70585697308ba2473cd961e9:/sistema/www/sel-sistema.php diff --git a/sistema/www/sel-sistema.php b/sistema/www/sel-sistema.php index 9c67424..d2a3428 100644 --- a/sistema/www/sel-sistema.php +++ b/sistema/www/sel-sistema.php @@ -33,7 +33,7 @@ $FORM->addElement ('select', 'sistemas', 'Sistemas', $SISTEMAS, array('size' => '1')); //SI ESTA EL LOGIN NO LO PIDO {{{ - if (!@$_SESSION['samurai']['login']) { + if (!@$_SESSION['usuario']) { $FORM->addElement ('text', 'responsable', 'Responsable', array('size' => '30')); $FORM->addRule ('responsable', 'El campo responsable es obligatorio', 'required'); } @@ -49,7 +49,7 @@ if ($FORM->elementExists('responsable')) { $responsable =& $FORM->getElement ('responsable'); - $_SESSION['samurai']['login'] = $responsable->getValue(); + $_SESSION['usuario'] = $responsable->getValue(); } header('Location: index'); }