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