]> git.mjollnir.org Git - moodle.git/commitdiff
Little bug storing wrong comment->id in the info field
authorstronk7 <stronk7>
Wed, 18 Feb 2004 21:50:33 +0000 (21:50 +0000)
committerstronk7 <stronk7>
Wed, 18 Feb 2004 21:50:33 +0000 (21:50 +0000)
when performing the "delete comment" action. Now it works fine. :-)

mod/glossary/comment.php

index 3e645e9d2d9b4872681c7362fc1d276fd9438124..9b36d84e14faaaed3cfd171785d79401fd410641 100644 (file)
@@ -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 {