X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/8d2616c309cde3dfbcf843ba66e0162f8d108920..da57f3c2acc48c5d0f0ff068599eef7ddf488388:/sistema/www/admin_servidores-abm.php?ds=sidebyside 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;