X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/2a767add127bcb217dcc2ce2ca242f703b5022a0..1fce1689d24ee6eed11644946bfa777a06d2ef8e:/sistema/www/sistemas/sistemas-abm.php diff --git a/sistema/www/sistemas/sistemas-abm.php b/sistema/www/sistemas/sistemas-abm.php index 1110161..0f306ce 100644 --- a/sistema/www/sistemas/sistemas-abm.php +++ b/sistema/www/sistemas/sistemas-abm.php @@ -185,6 +185,9 @@ } else { $res = $SISTEMA->guardarDatos($aceptar->getValue()); + if ($aceptar->getValue() != 'Eliminar') { + $_SESSION['samurai']['id_sistema'] = $SISTEMA->getId(); + } if (PEAR::isError($res)) { $ERROR = new MECON_HTML_Error($res->getMessage()); }