View | Details | Raw Unified | Return to bug 6506 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +4 lines)
Line     Link Here 
0
-- a/classes/submission/trackDirector/TrackDirectorAction.inc.php
0
++ b/classes/submission/trackDirector/TrackDirectorAction.inc.php
 Lines 217-223   class TrackDirectorAction extends Action { Link Here 
217
			$schedConf =& Request::getSchedConf();
217
			$schedConf =& Request::getSchedConf();
218
			if ($schedConf->getSetting('reviewDeadlineType') != null) {
218
			if ($schedConf->getSetting('reviewDeadlineType') != null) {
219
				if ($schedConf->getSetting('reviewDeadlineType') == REVIEW_DEADLINE_TYPE_ABSOLUTE) {
219
				if ($schedConf->getSetting('reviewDeadlineType') == REVIEW_DEADLINE_TYPE_ABSOLUTE) {
220
					TrackDirectorAction::setDueDate($trackDirectorSubmission->getPaperId(), $reviewAssignment->getId(), $schedConf->getSetting('numWeeksPerReviewAbsolute'), null, false);
220
					$reviewDeadlineDate = $schedConf->getSetting('numWeeksPerReviewAbsolute');
221
					$reviewDueDate = strftime(Config::getVar('general', 'date_format_short'), $reviewDeadlineDate);
222
					TrackDirectorAction::setDueDate($trackDirectorSubmission->getPaperId(), $reviewAssignment->getId(), $reviewDueDate, null, false);
221
				} elseif ($schedConf->getSetting('reviewDeadlineType') == REVIEW_DEADLINE_TYPE_RELATIVE) {
223
				} elseif ($schedConf->getSetting('reviewDeadlineType') == REVIEW_DEADLINE_TYPE_RELATIVE) {
222
					TrackDirectorAction::setDueDate($trackDirectorSubmission->getPaperId(), $reviewAssignment->getId(), null, $schedConf->getSetting('numWeeksPerReviewRelative'), false);
224
					TrackDirectorAction::setDueDate($trackDirectorSubmission->getPaperId(), $reviewAssignment->getId(), null, $schedConf->getSetting('numWeeksPerReviewRelative'), false);
223
				}
225
				}

Return to bug 6506