mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merged bug fix for global glossary flag from MOODLE_13_STABLE to trunk
This commit is contained in:
parent
dbce228d2f
commit
da5754f87c
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ global $CFG;
|
||||||
if ( !isadmin() ) {
|
if ( !isadmin() ) {
|
||||||
unset($glossary->globalglossary);
|
unset($glossary->globalglossary);
|
||||||
}
|
}
|
||||||
|
if (empty($glossary->globalglossary)) {
|
||||||
|
$glossary->globalglossary = 0;
|
||||||
|
}
|
||||||
|
|
||||||
$glossary->timemodified = time();
|
$glossary->timemodified = time();
|
||||||
$glossary->id = $glossary->instance;
|
$glossary->id = $glossary->instance;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue