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