Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 4403d2b89cead66926da378c977f081b79fd26ca 1 parent f26d986
willcast authored
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".
Please sign in to comment.
Something went wrong with that request. Please try again.