X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/bcfa4cac255e1a37ed69b40070b3a9133ef5f4c9..eab50f4456ebf26581c97fd799b23edb95a1ac7e:/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);