Commit 44f16129 authored by Alexander Butenko's avatar Alexander Butenko

Trim space from last error

parent 53ada311
......@@ -894,7 +894,7 @@ class MysqliDb
* @return string
*/
public function getLastError () {
return $this->_stmtError . " " . $this->_mysqli->error;
return trim ($this->_stmtError . " " . $this->_mysqli->error);
}
/**
......
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