MDL-8056 - one if statement was missed during Matt Clarkson's/Eloy's commit on 15th July 2007.
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
print_heading(format_string(get_string('commentson','glossary')." <b>\"$entry->concept\"</b>"));
|
||||
|
||||
if ($glossary->allowcomments || has_capability('mod/glossary:managecomments', $context)) {
|
||||
if (has_capability('mod/glossary:comment', $context) and $glossary->allowcomments) {
|
||||
print_heading("<a href=\"comment.php?action=add&eid=$entry->id\">$straddcomment <img title=\"$straddcomment\" src=\"comment.gif\" class=\"iconsmall\" alt=\"$straddcomment\" /></a>");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user