Commit 75539b4d authored by Alexander Butenko's avatar Alexander Butenko

Implement getLastError to return error message

parent 65b68b2d
......@@ -623,4 +623,13 @@ class MysqliDb
return $arr;
}
/**
* Method returns mysql error
*
* @return string
*/
public function getLastError () {
return $this->_mysqli->error;
}
} // END class
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