accessing this from static

This commit is contained in:
Guillermo Dev
2018-12-05 01:08:10 +01:00
parent e1582445a9
commit 2f39003a8f

View File

@@ -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;
}