Notice out.

Merged from MOODLE_14_STABLE
This commit is contained in:
stronk7
2004-08-26 21:39:18 +00:00
parent af815ebd77
commit 7567ff7b06
+1 -1
View File
@@ -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;
}