mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 10:31:57 +02:00
Fix incorrect setting of checkboxes on edit, bug #525244
git-svn-id: file:///svn/phpbb/trunk@2258 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -731,6 +731,10 @@ else
|
|||||||
{
|
{
|
||||||
$attach_sig = ( $post_info['enable_sig'] && $post_info['user_sig'] != "" ) ? TRUE : 0;
|
$attach_sig = ( $post_info['enable_sig'] && $post_info['user_sig'] != "" ) ? TRUE : 0;
|
||||||
$user_sig = $post_info['user_sig'];
|
$user_sig = $post_info['user_sig'];
|
||||||
|
|
||||||
|
$html_on = ( $post_info['enable_html'] ) ? true : false;
|
||||||
|
$bbcode_on = ( $post_info['enable_bbcode'] ) ? true : false;
|
||||||
|
$smilies_on = ( $post_info['enable_smilies'] ) ? true : false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -778,7 +782,7 @@ else
|
|||||||
//
|
//
|
||||||
// Signature toggle selection
|
// Signature toggle selection
|
||||||
//
|
//
|
||||||
if( $user_sig != "" )
|
if( $user_sig != '' )
|
||||||
{
|
{
|
||||||
$template->assign_block_vars("signature_checkbox", array());
|
$template->assign_block_vars("signature_checkbox", array());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user