Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…ayed.
  • Loading branch information...
commit 6a22879b41dc2af5dee6f4bac6e45fc044ab1051 1 parent 8202a36
authored September 18, 2003

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  mod/glossary/lib.php
2  mod/glossary/lib.php
@@ -233,7 +233,7 @@ function glossary_search_entries($searchterms, $glossary, $includedefinition) {
233 233
 
234 234
     if (!isteacher($glossary->course)) {
235 235
         $glossarymodule = get_record("modules", "name", "glossary");
236  
-        $onlyvisible = " AND f.id = cm.instance AND cm.visible = 1 AND cm.module = $glossarymodule->id";
  236
+        $onlyvisible = " AND g.id = cm.instance AND cm.visible = 1 AND cm.module = $glossarymodule->id";
237 237
         $onlyvisibletable = ", {$CFG->prefix}course_modules cm";
238 238
     } else {
239 239
 

0 notes on commit 6a22879

Please sign in to comment.
Something went wrong with that request. Please try again.