com web/bugs: Remove always-false if block.: www/bug.php
| From: | Sara Golemon | Date: | Tue, 07 Aug 2018 21:18:18 +0000 |
| Subject: | com web/bugs: Remove always-false if block.: www/bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27215@lists.php.net to get a copy of this message | ||
Commit: 767a4aa768224fe6211cae946067a897af0fd9fd
Author: Sara Golemon <pollita@php.net> Tue, 7 Aug 2018 17:18:18 -0400
Parents: 4d4f996b5ccb0a376c3ac68af96f92620ed75e4f
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=767a4aa768224fe6211cae946067a897af0fd9fd
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>