com web/bugs: don't show the Quick Fix dropdown on the login form: www/bug.php
| From: | Ferenc Kovacs | Date: | Tue, 08 May 2012 22:07:40 +0000 |
| Subject: | com web/bugs: don't show the Quick Fix dropdown on the login form: www/bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13488@lists.php.net to get a copy of this message | ||
Commit: ffdc47b14e31e159551236f810a5f2c6c2bdd773
Author: Ferenc Kovacs <tyra3l@gmail.com> Wed, 9 May 2012 00:07:40 +0200
Parents: 435e06184ed46f9e018072249a273489c02fcdca
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=ffdc47b14e31e159551236f810a5f2c6c2bdd773
Log:
don't show the Quick Fix dropdown on the login form
Changed paths:
M www/bug.php
Diff:
diff --git a/www/bug.php b/www/bug.php
index fe24674..7c9591f 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -812,7 +812,7 @@ if ($edit == 1 || $edit == 2) { ?>
?>
<table>
-<?php if ($edit == 1) { /* Developer Edit Form */ ?>
+<?php if ($edit == 1 && $has_access) { /* Developer Edit Form */ ?>
<tr>
<th class="details"><label for="in"
accesskey="c">Qui<span class="accesskey">c</span>k
Fix:</label></th>
<td colspan="3">