X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/8d2616c309cde3dfbcf843ba66e0162f8d108920..ac4b40ecf55021f9d6439e0d692b7e598e4d040e:/lib/YATTA/ServidorDB.php?ds=inline 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) {