Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- When guest or students search entries, now they are correctly displ…

…ayed.
  • Loading branch information...
commit 6a22879b41dc2af5dee6f4bac6e45fc044ab1051 1 parent 8202a36
willcast authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/glossary/lib.php
View
2  mod/glossary/lib.php
@@ -233,7 +233,7 @@ function glossary_search_entries($searchterms, $glossary, $includedefinition) {
if (!isteacher($glossary->course)) {
$glossarymodule = get_record("modules", "name", "glossary");
- $onlyvisible = " AND f.id = cm.instance AND cm.visible = 1 AND cm.module = $glossarymodule->id";
+ $onlyvisible = " AND g.id = cm.instance AND cm.visible = 1 AND cm.module = $glossarymodule->id";
$onlyvisibletable = ", {$CFG->prefix}course_modules cm";
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.