fixed typo

This commit is contained in:
skodak 2009-04-20 10:49:31 +00:00
parent c3e793aead
commit 614aa8b0d3

View File

@ -114,7 +114,7 @@ if ($mform->is_cancelled()){
//new entry
$entry->id = $DB->insert_record('glossary_entries', $entry);
add_to_log($course->id, "glossary", "add entry",
"view.php?id=$cm->id&mode=entry&hook=$enty->id", $entry->id, $cm->id);
"view.php?id=$cm->id&mode=entry&hook=$entry->id", $entry->id, $cm->id);
} else {
//existing entry