accessing this from static
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user