Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4edcf
)
MDL-29848 glossary: fixed whitespace
author
Aparup Banerjee
<aparup@moodle.com>
Tue, 20 Mar 2012 08:12:02 +0000
(16:12 +0800)
committer
Aparup Banerjee
<aparup@moodle.com>
Tue, 20 Mar 2012 08:12:02 +0000
(16:12 +0800)
mod/glossary/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/glossary/lib.php
b/mod/glossary/lib.php
index
6a1871f
..
f8b0d1f
100644
(file)
--- a/
mod/glossary/lib.php
+++ b/
mod/glossary/lib.php
@@
-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))) {