mirror of
https://github.com/dg/dibi.git
synced 2025-08-12 17:14:16 +02:00
Avoid error handler invocation
This commit is contained in:
@@ -458,7 +458,7 @@ class DibiMySqliDriver extends DibiObject implements IDibiDriver, IDibiResultDri
|
||||
public function getResultResource()
|
||||
{
|
||||
$this->autoFree = FALSE;
|
||||
return @$this->resultSet->type === NULL ? NULL : $this->resultSet;
|
||||
return $this->resultSet === NULL || $this->resultSet->type === NULL ? NULL : $this->resultSet;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user