解决在开启验证码的情况下,锁贴后点击锁贴提示,会显示没输入验证码问题。
This commit is contained in:
parent
96364cb1b1
commit
c33f692bb1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue