X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/8d2616c309cde3dfbcf843ba66e0162f8d108920..0d8ee0dcc365fda25bd7723fa5e146706fddb191:/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) {