mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
Merge branch 'MDL-36587-master' of git://github.com/damyon/moodle
Conflicts: mod/assign/locallib.php
This commit is contained in:
commit
0a9b944a15
@ -2540,7 +2540,7 @@ class assign {
|
||||
$gradebookurl = '/grade/report/grader/index.php?id=' . $this->get_course()->id;
|
||||
$links[$gradebookurl] = get_string('viewgradebook', 'assign');
|
||||
}
|
||||
if ($this->is_any_submission_plugin_enabled()) {
|
||||
if ($this->is_any_submission_plugin_enabled() && $this->count_submissions()) {
|
||||
$downloadurl = '/mod/assign/view.php?id=' . $cmid . '&action=downloadall';
|
||||
$links[$downloadurl] = get_string('downloadall', 'assign');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user