bug when disabling anonymous comments
git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.0@8 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
936d2ab48d
commit
8c792556e6
@ -335,6 +335,7 @@ class CommentList extends Extension {
|
|||||||
|
|
||||||
private function can_comment() {
|
private function can_comment() {
|
||||||
global $config;
|
global $config;
|
||||||
|
global $user;
|
||||||
return ($config->get_bool('comment_anon') || !$user->is_anonymous());
|
return ($config->get_bool('comment_anon') || !$user->is_anonymous());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user