svn: /web/php-bugs/trunk/www/ bug.php
| From: | Felipe Pena | Date: | Mon, 26 Jul 2010 00:11:14 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/ bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-8598@lists.php.net to get a copy of this message | ||
felipe Mon, 26 Jul 2010 00:11:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301553
Log:
- Fixed missing checked="checked" for bug marked to do not receive user comment
Changed paths:
U web/php-bugs/trunk/www/bug.php
Modified: web/php-bugs/trunk/www/bug.php
===================================================================
--- web/php-bugs/trunk/www/bug.php 2010-07-25 23:25:18 UTC (rev 301552)
+++ web/php-bugs/trunk/www/bug.php 2010-07-26 00:11:14 UTC (rev 301553)
@@ -149,6 +149,7 @@
$_POST['in']['block_user_comment'] =
isset($_POST['in']['block_user_comment']) ? 'Y' : 'N';
}
}
+$block_user = (!empty($_POST['in']) &&
isset($_POST['in']['block_user_comment'])) ?
$_POST['in']['block_user_comment'] : $bug['block_user_comment'];
// Handle any updates, displaying errors if there were any
$RESOLVE_REASONS = $FIX_VARIATIONS = $pseudo_pkgs = array();
@@ -730,7 +731,7 @@
<tr>
<th class="details"></th>
<td colspan="3">
- <input type="checkbox" name="in[block_user_comment]" value="Y"
<?php print (isset($_POST['in']) &&
isset($_POST['in']['block_user_content'])) ? 'checked' : '';
?>> Block user comment
+ <input type="checkbox" name="in[block_user_comment]" value="Y"
<?php print $block_user == 'Y' ? 'checked="checked"' :
''; ?>> Block user comment
</td>
</tr>
<?php } ?>