From d3acd64d59a2abef7f045025f5519ea63960e884 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Wed, 18 Feb 2004 21:50:33 +0000 Subject: [PATCH] Little bug storing wrong comment->id in the info field when performing the "delete comment" action. Now it works fine. :-) --- mod/glossary/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/glossary/comment.php b/mod/glossary/comment.php index 3e645e9d2d..9b36d84e14 100644 --- a/mod/glossary/comment.php +++ b/mod/glossary/comment.php @@ -84,7 +84,7 @@ print_simple_box_end(); print_footer($course); - add_to_log($course->id, "glossary", "delete comment", "comments.php?id=$cm->id&eid=$entry->id", $comment,$cm->id); + add_to_log($course->id, "glossary", "delete comment", "comments.php?id=$cm->id&eid=$entry->id", "$comment->id",$cm->id); redirect("comments.php?id=$cm->id&eid=$entry->id"); } else { -- 2.39.5