Skip to content
Browse files

- 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...
1 parent f26d986 commit 4403d2b89cead66926da378c977f081b79fd26ca willcast committed Nov 9, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/glossary/showentry.php
View
2 mod/glossary/showentry.php
@@ -2,8 +2,8 @@
require_once("../../config.php");
require_once("lib.php");
- require_variable($courseid);
require_variable($concept);
+ optional_variable($courseid,0);
print_header();
$entries = get_records_sql("select e.* from {$CFG->prefix}glossary_entries e, {$CFG->prefix}glossary g".

0 comments on commit 4403d2b

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