Skip to content

Commit

Permalink
choice report log action wasn't saving cmid in logs table.
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Apr 10, 2005
1 parent da423e1 commit 408f7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/choice/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
$strchoices = get_string("modulenameplural", "choice");
$strresponses = get_string("responses", "choice");

add_to_log($course->id, "choice", "report", "report.php?id=$cm->id", "$choice->id");
add_to_log($course->id, "choice", "report", "report.php?id=$cm->id", "$choice->id",$cm->id);

print_header_simple(format_string($choice->name).": $strresponses", "",
"<a href=\"index.php?id=$course->id\">$strchoices</a> ->
Expand Down

0 comments on commit 408f7c4

Please sign in to comment.