Better error reporting.

git-svn-id: https://develop.svn.wordpress.org/trunk@635 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-12-22 01:50:20 +00:00
parent dd95276c66
commit 73c4bcdc7a
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@
// If there is an error then take note of it
print "<div id='error'>
<p><strong>SQL/DB Error:</strong><br />
[<span style='color: #007;'>$str</span>]</p>
[<span style='color: #007;'>$str</span>]<br />
<code>$this->last_query</code></p>
</div>";
}
else