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)
|
public static function executeDontThrow($sql, $values = array(), $fetchMode = \PDO::FETCH_ASSOC)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$res = $this->execute($sql, $values, $fetchMode);
|
$res = self::execute($sql, $values, $fetchMode);
|
||||||
} catch (SqlException $e) {
|
} catch (SqlException $e) {
|
||||||
$res = false;
|
$res = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user