Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Fix typo in URL in order to show resubmit button in assign views #158

Open
wants to merge 1 commit into
base: MOODLE_400_STABLE
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2496,7 +2496,7 @@ function plagiarism_urkund_before_standard_top_of_body_html() {
}
if ($PAGE->url->compare(new moodle_url('/mod/quiz/report.php'), URL_MATCH_BASE)) {
$module = 'quiz';
} else if ($PAGE->url->compare(new moodle_url('/mod/assign/report.php'), URL_MATCH_BASE)) {
} else if ($PAGE->url->compare(new moodle_url('/mod/assign/view.php'), URL_MATCH_BASE)) {
$module = 'assign';
} else {
return;
Expand Down