MDL-29848 glossary: fixed whitespace

This commit is contained in:
Aparup Banerjee 2012-03-20 16:12:02 +08:00
parent aa4edcf614
commit 0e5c50e29a

View File

@ -2895,7 +2895,7 @@ function glossary_comment_validate($comment_param) {
} else {
$glossary = $DB->get_record('glossary', array('id'=>$record->glossaryid));
}
if (!$glossary) {
if (!$glossary) {
throw new comment_exception('invalidid', 'data');
}
if (!$course = $DB->get_record('course', array('id'=>$glossary->course))) {