From b6a770f2c93e6920c8b51729fe708ca1a413b040 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Wed, 19 Jun 2024 00:24:23 +0200 Subject: [PATCH] x --- src/Dibi/Drivers/SqliteDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dibi/Drivers/SqliteDriver.php b/src/Dibi/Drivers/SqliteDriver.php index 0da3ac6e..479ec1a4 100644 --- a/src/Dibi/Drivers/SqliteDriver.php +++ b/src/Dibi/Drivers/SqliteDriver.php @@ -57,7 +57,7 @@ public function __construct(array $config) // enable foreign keys support (defaultly disabled; if disabled then foreign key constraints are not enforced) $version = SQLite3::version(); - $this->connection->enableExceptions(false); + @$this->connection->enableExceptions(false); if ($version['versionNumber'] >= '3006019') { $this->query('PRAGMA foreign_keys = ON'); }