Skip to content

Commit

Permalink
mysqli driver: silent warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Apr 24, 2015
1 parent 9ca63c0 commit 72d4567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/Mysqli/MysqliDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function getResourceHandle()
public function query($query)
{
$time = microtime(TRUE);
$result = $this->connection->query($query);
$result = @$this->connection->query($query);
$time = microtime(TRUE) - $time;

if ($this->connection->errno) {
Expand Down

0 comments on commit 72d4567

Please sign in to comment.