From: tjhunt Date: Thu, 19 Jul 2007 16:51:17 +0000 (+0000) Subject: MDL-8056 - one if statement was missed during Matt Clarkson's/Eloy's commit on 15th... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5d5ae618a823b281a23b3e1394a434f1e8fa41e0;p=moodle.git MDL-8056 - one if statement was missed during Matt Clarkson's/Eloy's commit on 15th July 2007. Merged from MOODLE_18_STABLE --- 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\""); }