From 2f39003a8f09f6cd1c0529a8af535f6c09587363 Mon Sep 17 00:00:00 2001 From: Guillermo Dev Date: Wed, 5 Dec 2018 01:08:10 +0100 Subject: [PATCH] accessing this from static --- src/Db/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Db/Connection.php b/src/Db/Connection.php index 82f6cb3..27c96d7 100644 --- a/src/Db/Connection.php +++ b/src/Db/Connection.php @@ -32,7 +32,7 @@ class Connection public static function executeDontThrow($sql, $values = array(), $fetchMode = \PDO::FETCH_ASSOC) { try { - $res = $this->execute($sql, $values, $fetchMode); + $res = self::execute($sql, $values, $fetchMode); } catch (SqlException $e) { $res = false; }