mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
4d5fde9a78
commit
0a01693cdd
1 changed files with 10 additions and 6 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue