X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/bcfa4cac255e1a37ed69b40070b3a9133ef5f4c9..eadc9e63372dde805c0a1b0ad7db6aaa113995cf:/lib/MECON/Dependencia.php diff --git a/lib/MECON/Dependencia.php b/lib/MECON/Dependencia.php index 6732ca5..1dc9685 100644 --- a/lib/MECON/Dependencia.php +++ b/lib/MECON/Dependencia.php @@ -102,7 +102,7 @@ class MECON_Dependencia { } if(DB::isError($result)) - die($result->getMessage("query mal hecho")); + trigger_error($result->getMessage("query mal hecho"), E_USER_ERROR); if($result->numRows() > 0) { $row = $result->fetchRow(DB_FETCHMODE_ASSOC);