diff --git a/upload/source/module/forum/forum_misc.php b/upload/source/module/forum/forum_misc.php index e4bd9b07799b9e37ebccecf8281de2a16181ded5..3fde22ecf248c580c9fa78c7a2c0b1df1b2ed4c8 100644 --- a/upload/source/module/forum/forum_misc.php +++ b/upload/source/module/forum/forum_misc.php @@ -1762,7 +1762,7 @@ if($_GET['action'] == 'votepoll' && submitcheck('pollsubmit', 1)) { $post = C::t('forum_post')->fetch('tid:'.$_GET['tid'], $_GET['pid'], false); - if(!in_array($_GET['do'], $doArray) || empty($post) || $post['first'] == 1 || ($_G['setting']['threadfilternum'] && $_G['setting']['filterednovote'] && getstatus($post['status'], 11))) { + if(!in_array($_GET['do'], $doArray) || empty($post) || $post['first'] == 1 || ($_G['setting']['threadfilternum'] && $_G['setting']['filterednovote'] && getstatus($post['status'], 11)) || $post['invisible'] < 0) { showmessage('undefined_action', NULL); }