From: stronk7 Date: Wed, 18 Feb 2004 21:50:33 +0000 (+0000) Subject: Little bug storing wrong comment->id in the info field X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d3acd64d59a2abef7f045025f5519ea63960e884;p=moodle.git Little bug storing wrong comment->id in the info field when performing the "delete comment" action. Now it works fine. :-) --- 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 {