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