Notice out.
Merged from MOODLE_14_STABLE
This commit is contained in:
@@ -52,7 +52,7 @@ function glossary_add_instance($glossary) {
|
||||
/// will create a new instance and return the id number
|
||||
/// of the new instance.
|
||||
|
||||
if (!$glossary->userating) {
|
||||
if (!isset($glossary->userating) || !$glossary->userating) {
|
||||
$glossary->assessed = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user