X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/8d2616c309cde3dfbcf843ba66e0162f8d108920..18e23f6b3d95afb8b10ac7523b88b881ac038923:/sistema/www/admin_servidores-abm.php diff --git a/sistema/www/admin_servidores-abm.php b/sistema/www/admin_servidores-abm.php index 34af421..114b114 100644 --- a/sistema/www/admin_servidores-abm.php +++ b/sistema/www/admin_servidores-abm.php @@ -58,7 +58,7 @@ if ($id) { $SERVIDOR->id = $id; $res = $SERVIDOR->buscar($DB, MECON_DBO_OR, 'nombre'); if (PEAR::isError($res)) { - die('Error: ' . $res->getMessage() . "\n"); + trigger_error('Error: ' . $res->getMessage() . "\n", E_USER_ERROR); } $SERVIDOR->cargar($res); } @@ -132,7 +132,7 @@ if ($FORM->validate()) { } //}}} if (PEAR::isError($res)) { - die('Error: ' . $res->getMessage() . "\n"); + trigger_error('Error: ' . $res->getMessage() . "\n", E_USER_ERROR); } header ('location: admin_servidores'); exit;