X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/8d2616c309cde3dfbcf843ba66e0162f8d108920..638854c9bec022ae7d56392c39703be15e076da4:/lib/YATTA/ServidorDB.php diff --git a/lib/YATTA/ServidorDB.php b/lib/YATTA/ServidorDB.php index a5e427c..02b61fc 100644 --- a/lib/YATTA/ServidorDB.php +++ b/lib/YATTA/ServidorDB.php @@ -173,7 +173,7 @@ class YATTA_ServidorDB extends MECON_DBO { $res = $db->query("UPDATE yatta.servidores SET escala = escala + 1 WHERE escala >= ".$this->escala); if (PEAR::isError($res)) { - die('Error: ' . $res->getMessage() . "\n"); + trigger_error('Error: ' . $res->getMessage() . "\n", E_USER_ERROR); } if ($nuevo) {