MDL-12297: improvement for fix "assignment view submission" link into "Profil/Activty Report/all logs, merged from 19

This commit is contained in:
jerome 2008-09-23 07:47:43 +00:00
parent 19002f9fcf
commit 92b2bd00f8

View File

@ -1048,8 +1048,7 @@ class assignment_base {
$cm = $this->cm;
$tabindex = 1; //tabindex for quick grading tabbing; Not working for dropdowns yet
add_to_log($course->id, 'assignment', 'view submission', 'submissions.php?id='.$this->assignment->cmidnumber, $this->assignment->id, $this->cm->id);
add_to_log($course->id, 'assignment', 'view submission', 'submissions.php?id='.$this->cm->id, $this->assignment->id, $this->cm->id);
$navigation = build_navigation($this->strsubmissions, $this->cm);
print_header_simple(format_string($this->assignment->name,true), "", $navigation,
'', '', true, update_module_button($cm->id, $course->id, $this->strassignment), navmenu($course, $cm));