mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
- Setting as optional the course id so, by default, it look for entries in global glossaries (unless a glossary is specify that will search in both).
This commit is contained in:
parent
f26d986a17
commit
4403d2b89c
1 changed files with 1 additions and 1 deletions
|
@ -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".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue