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:
Paul S. Owen 2002-03-03 22:53:11 +00:00
parent 4d5fde9a78
commit 0a01693cdd

View file

@ -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());
} }