Signature issues

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2566 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-05-12 01:21:57 +00:00
parent 9ec0e09657
commit be14f298a5
2 changed files with 3 additions and 3 deletions

View file

@ -607,11 +607,11 @@ if( $refresh || isset($HTTP_POST_VARS['del_poll_option']) || $error_msg != '' )
if ( $mode == 'newtopic' || $mode == 'reply') if ( $mode == 'newtopic' || $mode == 'reply')
{ {
$user_sig = ( $userdata['user_sig'] != '' ) ? $userdata['user_sig'] : ''; $user_sig = ( $userdata['user_sig'] != '' && $board_config['allow_sig'] ) ? $userdata['user_sig'] : '';
} }
else if ( $mode == 'editpost' ) else if ( $mode == 'editpost' )
{ {
$user_sig = ( $post_info['user_sig'] != '' ) ? $post_info['user_sig'] : ''; $user_sig = ( $post_info['user_sig'] != '' && $board_config['allow_sig'] ) ? $post_info['user_sig'] : '';
} }
if( $preview ) if( $preview )

View file

@ -1046,7 +1046,7 @@ for($i = 0; $i < $total_posts; $i++)
} }
} }
if ( $user_sig != '' && $board_config['allow_sig'] ) if ( $user_sig != '' )
{ {
$user_sig = make_clickable($user_sig); $user_sig = make_clickable($user_sig);
} }