mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-12297: fix "assignment view submission" link into "Profil/Activty Report/all logs, merged from 19
This commit is contained in:
parent
739b07112e
commit
19002f9fcf
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
<?PHP // $Id$
|
<?PHP // $Id$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* assignment_base is the base class for assignment types
|
* assignment_base is the base class for assignment types
|
||||||
*
|
*
|
||||||
|
@ -1048,8 +1049,7 @@ class assignment_base {
|
||||||
|
|
||||||
$tabindex = 1; //tabindex for quick grading tabbing; Not working for dropdowns yet
|
$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->id, $this->assignment->id, $this->cm->id);
|
add_to_log($course->id, 'assignment', 'view submission', 'submissions.php?id='.$this->assignment->cmidnumber, $this->assignment->id, $this->cm->id);
|
||||||
|
|
||||||
$navigation = build_navigation($this->strsubmissions, $this->cm);
|
$navigation = build_navigation($this->strsubmissions, $this->cm);
|
||||||
print_header_simple(format_string($this->assignment->name,true), "", $navigation,
|
print_header_simple(format_string($this->assignment->name,true), "", $navigation,
|
||||||
'', '', true, update_module_button($cm->id, $course->id, $this->strassignment), navmenu($course, $cm));
|
'', '', true, update_module_button($cm->id, $course->id, $this->strassignment), navmenu($course, $cm));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue