Commit: 767a4aa768224fe6211cae946067a897af0fd9fd Author: Sara Golemon <[email protected]> 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> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
