From 96e4104defa4d9fe613a73dd625c951e7e634721 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 26 Mar 2007 23:02:35 +0000 Subject: [PATCH] Always print the entry when adding, updating/deleting comments. MDL-9047 Merged from MOODLE_18_STABLE --- mod/glossary/comment.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod/glossary/comment.php b/mod/glossary/comment.php index f416fc9907d..c329807c87b 100644 --- a/mod/glossary/comment.php +++ b/mod/glossary/comment.php @@ -227,5 +227,7 @@ function glossary_comment_print_header($course, $cm, $glossary, $entry, $action) "id\">$strglossaries -> id\">".format_string($glossary->name,true)." -> id&eid=$entry->id\">$strcomments -> " . $straction, '', '', true, update_module_button($cm->id, $course->id, $strglossary), navmenu($course, $cm)); +/// print original glossary entry for any comment action (add, update, delete) + glossary_print_entry($course, $cm, $glossary, $entry, 'approval', '', false); } -?> \ No newline at end of file +?>