Skip to content
Snippets Groups Projects
Commit 4265419b authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files
parent b8b64d6f
No related branches found
No related tags found
No related merge requests found
......@@ -98,8 +98,7 @@ class MDB2_Driver_sqlite3 extends MDB2_Driver_Common
if ($this->connection) {
$native_code = $this->connection->lastErrorCode();
}
$native_msg = $this->_lasterror
? html_entity_decode($this->_lasterror) : $this->connection->lastErrorMsg();
$native_msg = html_entity_decode($this->_lasterror);
// PHP 5.2+ prepends the function name to $php_errormsg, so we need
// this hack to work around it, per bug #9599.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment