mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
fixed bug #1370, #1447 (moderator status update, extensively tested, should work :D), #1309, poll delete checkbox
fixed (now it is only displayed if there is a poll to delete) git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3580 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1058,7 +1058,7 @@ if( ( $mode == 'newtopic' || ( $mode == 'editpost' && $post_data['edit_poll']) )
|
||||
'POLL_LENGTH' => $poll_length)
|
||||
);
|
||||
|
||||
if( $mode == 'editpost' && $post_data['edit_poll'] )
|
||||
if( $mode == 'editpost' && $post_data['edit_poll'] && $post_data['has_poll'])
|
||||
{
|
||||
$template->assign_block_vars('switch_poll_delete_toggle', array());
|
||||
}
|
||||
|
Reference in New Issue
Block a user