remove sql error from maintainersubmit when trying to be a supermaintainer

This commit is contained in:
Jonathan Ernst
2005-01-14 05:32:48 +00:00
committed by WineHQ
parent 571aa478f6
commit 719e39c900

View File

@@ -91,8 +91,11 @@ if($_REQUEST['maintainReason'])
} }
} else } else
{ {
// header // header
apidb_header("Request to become an application maintainer of ".appIdToName($appId).versionIdToName($versionId)); if($versionId)
apidb_header("Request to become an application maintainer of ".appIdToName($appId)." ".versionIdToName($versionId));
else
apidb_header("Request to become an application super maintainer of ".appIdToName($appId));
// show add to queue form // show add to queue form
@@ -135,8 +138,14 @@ if($_REQUEST['maintainReason'])
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n"; echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
echo "<tr valign=top><td class=color0>"; echo "<tr valign=top><td class=color0>";
echo '<b>Application</br></td><td>'.appIdToName($appId).' '.versionIdToName($versionId); echo '<b>Application</b></td><td>'.appIdToName($appId);
echo '</td></tr>',"\n"; echo '</td></tr>',"\n";
if($versionId)
{
echo "<tr valign=top><td class=color0>";
echo '<b>Version</b></td><td>'.versionIdToName($versionId);
echo '</td></tr>',"\n";
}
echo "<input type=hidden name='appId' value=$appId>"; echo "<input type=hidden name='appId' value=$appId>";
echo "<input type=hidden name='versionId' value=$versionId>"; echo "<input type=hidden name='versionId' value=$versionId>";
echo "<input type=hidden name='superMaintainer' value=$superMaintainer>"; echo "<input type=hidden name='superMaintainer' value=$superMaintainer>";