From 5d5ae618a823b281a23b3e1394a434f1e8fa41e0 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 19 Jul 2007 16:51:17 +0000 Subject: [PATCH] MDL-8056 - one if statement was missed during Matt Clarkson's/Eloy's commit on 15th July 2007. Merged from MOODLE_18_STABLE --- mod/glossary/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/glossary/comments.php b/mod/glossary/comments.php index ffdaa34f2d..271d13eee4 100644 --- a/mod/glossary/comments.php +++ b/mod/glossary/comments.php @@ -62,7 +62,7 @@ print_heading(format_string(get_string('commentson','glossary')." \"$entry->concept\"")); - if ($glossary->allowcomments || has_capability('mod/glossary:managecomments', $context)) { + if (has_capability('mod/glossary:comment', $context) and $glossary->allowcomments) { print_heading("id\">$straddcomment \"$straddcomment\""); } -- 2.39.5