X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/79cc4f777b6fe9d907ccad24a2fc65246d0253ed..f3692172201650cb32cd500e1add6f5735b02a8c:/sistema/www/permisos/permisos-abm.php?ds=sidebyside diff --git a/sistema/www/permisos/permisos-abm.php b/sistema/www/permisos/permisos-abm.php index 43e4bbe..0392c50 100644 --- a/sistema/www/permisos/permisos-abm.php +++ b/sistema/www/permisos/permisos-abm.php @@ -21,7 +21,7 @@ // //VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{ -$SAMURAI_PERM->chequear(SAMURAI_DEVELOPER); +$SAMURAI_PERM->chequear(SAMURAI_PERM_DEVELOPER); //}}} //REQUIRE_ONCE {{{ //MECON {{{ @@ -40,7 +40,7 @@ $SAMURAI_PERM->chequear(SAMURAI_DEVELOPER); $FORM->addElement ('header', 'cabecera', 'ABM Permisos'); $FORM->addElement ('hidden', 'id_permiso'); $FORM->addElement ('text' , 'desc_permiso', 'Descripcion', array('size'=>'50')); - $FORM->addElement ('hidden', 'responsable' , $_SESSION['samurai']['login']); + $FORM->addElement ('hidden', 'responsable' , $_SESSION['usuario']); $group[] = HTML_QuickForm::createElement('submit', 'aceptar' , 'Grabar'); $group[] = HTML_QuickForm::createElement('button', 'cancelar', 'Cancelar', array ('onClick' => 'javascript:history.go(-1);return true;')); $FORM->addGroup($group,'botones');