Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- Setting as optional the course id so, by default, it look for entri…

…es in global glossaries (unless a glossary is specify that will search in both).
  • Loading branch information...
commit 4403d2b89cead66926da378c977f081b79fd26ca 1 parent f26d986
authored November 09, 2003

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

  1. 2  mod/glossary/showentry.php
2  mod/glossary/showentry.php
@@ -2,8 +2,8 @@
2 2
     require_once("../../config.php");
3 3
     require_once("lib.php");
4 4
 
5  
-    require_variable($courseid);
6 5
     require_variable($concept);
  6
+    optional_variable($courseid,0);
7 7
 
8 8
     print_header();
9 9
     $entries = get_records_sql("select e.* from {$CFG->prefix}glossary_entries e, {$CFG->prefix}glossary g".

0 notes on commit 4403d2b

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