修复方法source/include/post/post_newreply.php
搜索
- if(!$post) {
- showmessage('post_nonexistence', NULL);
- }
复制代码 替换为
- if(!$post || !($_G['setting']['commentpostself'] || $post['authorid'] != $_G['uid']) || !(($post['first'] && $_G['setting']['commentfirstpost'] && in_array($_G['group']['allowcommentpost'], array(1, 3)) || (!$post['first'] && in_array($_G['group']['allowcommentpost'], array(2, 3)))))) {
- showmessage('postcomment_error');
- }
复制代码
提交保存
|