Skip to content
This repository was archived by the owner on Jun 15, 2020. It is now read-only.
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 @@ -2188,7 +2188,7 @@ function turnitin_get_module_dates($module, $tii, &$timestart) {
if (!empty($timedue) && ($timedue > strtotime('+10 minutes')) && $timedue > $timestart) {
$tii['dtdue'] = rawurlencode(date($turnitindateformat, $timedue));
} else {
$dtdue = strtotime('+6 months');
$dtdue = strtotime('+6 months', $timestart); // Needs to be after the start date, which can be in the far future.
$tii['dtdue'] = rawurlencode(date($turnitindateformat, $dtdue));
}
return $tii;
Expand Down