Better error reporting.

git-svn-id: http://svn.automattic.com/wordpress/trunk@635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-12-22 01:50:20 +00:00
parent c3d03c529d
commit 61df3dab96
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