Commit c6811cdb authored by Alexander Butenko's avatar Alexander Butenko Committed by GitHub

fixes (#676)

* fix a typo
parent d87decd6
......@@ -1916,7 +1916,7 @@ class MysqliDb
$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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment