Skip to content

Commit

Permalink
fixes (#676)
Browse files Browse the repository at this point in the history
* fix a typo
  • Loading branch information
avbdr authored Aug 10, 2017
1 parent d87decd commit c6811cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MysqliDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@ protected function _prepareQuery()
$query = $this->_query;
$errno = $this->mysqli()->errno;
$this->reset();
throw new Exception(sprintf('%s query: %s', error, query), errno);
throw new Exception(sprintf('%s query: %s', $error, $query), $errno);
}

/**
Expand Down

0 comments on commit c6811cd

Please sign in to comment.