diff --git a/lib/dao/dao.class.php b/lib/dao/dao.class.php index f4152893d7..050fbd766b 100755 --- a/lib/dao/dao.class.php +++ b/lib/dao/dao.class.php @@ -528,7 +528,7 @@ class dao } catch (PDOException $e) { - $this->app->error($e->getMessage() . "

The sql is: $sql

", __FILE__, __LINE__, $exit = true); + $this->app->triggerError($e->getMessage() . "

The sql is: $sql

", __FILE__, __LINE__, $exit = true); } }