DevHeads.net

com web/bugs: Remove always-false if block.: www/bug.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=767a4aa768224fe6211cae946067a897af0fd9fd" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=767a4aa768224fe6211cae946067a897af0fd9fd">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=767a4aa768224fe6211cae...</a>

Log:
Remove always-false if block.

if (!$show_bug_info)
can't possibly be true since we're inside of a block contingent on
if ($show_bug_info)

Changed paths:
M www/bug.php

Diff:
diff --git a/www/bug.php b/www/bug.php
index 458b9fb..5ae7137 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -775,9 +775,6 @@ if ($edit == 1 || $edit == 2) { ?>
<tr>
<td class="details">Passw<span class="accesskey">o</span>rd:</td>
<td><input type="password" name="pw" value="<?php echo htmlspecialchars($pw); ?>" size="10" maxlength="20" accesskey="o"></td>
- <?php if (!$show_bug_info) { ?>
- <input type="submit" value="Submit">
- <?php } ?>
</tr>
</table>
</div>