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:
shish 2007-04-24 16:35:48 +00:00
parent 936d2ab48d
commit 8c792556e6

View File

@ -335,6 +335,7 @@ class CommentList extends Extension {
private function can_comment() {
global $config;
global $user;
return ($config->get_bool('comment_anon') || !$user->is_anonymous());
}