解决在开启验证码的情况下,锁贴后点击锁贴提示,会显示没输入验证码问题。

This commit is contained in:
Hmily_LCG 2017-03-08 10:48:42 +08:00
parent 96364cb1b1
commit c33f692bb1
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ cknewuser();
require_once libfile('class/credit');
require_once libfile('function/post');
require_once libfile('function/forumlist');
$pid = intval(getgpc('pid'));
@ -109,6 +110,9 @@ if($_GET['action'] == 'edit' || $_GET['action'] == 'reply') {
if($thread['closed'] == 1 && !$_G['forum']['ismoderator']) {
showmessage('post_thread_closed');
}
if(!$thread['isgroup'] && $post_autoclose = checkautoclose($thread)) {
showmessage($post_autoclose, '', array('autoclose' => $_G['forum']['autoclose']));
}
}
if($_G['forum']['status'] == 3) {