From cdd0bfd0fa1f8e128f7374e034f81c3fc2b49e5f Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Wed, 4 Jul 2018 17:24:06 +0200 Subject: [PATCH] [fix] not throwing exception with db_mysql --- bureau/class/db_mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/db_mysql.php b/bureau/class/db_mysql.php index e681469b..8e5a3c36 100644 --- a/bureau/class/db_mysql.php +++ b/bureau/class/db_mysql.php @@ -63,7 +63,7 @@ class DB_Sql { $dsn = sprintf('mysql:dbname=%s;host=%s', $db, $host); $options=array( - \PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION +// \PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION ); try { $this->pdo_instance = new PDO($dsn, $user, $passwd, $options);