remove all mysql_error() instances as errors are handled by query_appdb()

This commit is contained in:
Jonathan Ernst
2005-01-14 05:34:25 +00:00
committed by WineHQ
parent c233396669
commit caf91fded2
11 changed files with 16 additions and 90 deletions

View File

@@ -161,9 +161,7 @@ if(strcasecmp($categoryId, "any") == 0)
ORDER BY count DESC LIMIT $topNumber";
}
$result = query_appdb($sVoteQuery);
if($result)
if($result = query_appdb($sVoteQuery))
{
echo html_frame_start("", "90%", '', 0);
echo html_table_begin("width='100%' align=center");
@@ -192,10 +190,6 @@ if($result)
echo "<center><a href='help/?topic=voting'>What does this screen mean?</a></center>\n";
}
else
{
echo "Error: " . mysql_error();
}
apidb_footer();