Skip to content

Commit 1f6591c

Browse files
committed
#4789 fixed name and duration for review submit due date
1 parent 924e208 commit 1f6591c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/grid/users/reviewer/form/traits/HasReviewDueDate.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
trait HasReviewDueDate
2121
{
2222
public const REVIEW_SUBMIT_DEFAULT_DUE_WEEKS = 4;
23-
public const RESPONSE_RESPONSE_DEFAULT_DUE_WEEKS = 4;
23+
public const REVIEW_RESPONSE_DEFAULT_DUE_WEEKS = 3;
2424

2525
/**
2626
* Get the review submit due dates
@@ -44,7 +44,7 @@ public function getReviewResponseDueDate(Context $context): Carbon
4444
$numWeeks = (int) $context->getData('numWeeksPerResponse');
4545

4646
if ($numWeeks <= 0) {
47-
$numWeeks = static::RESPONSE_RESPONSE_DEFAULT_DUE_WEEKS;
47+
$numWeeks = static::REVIEW_RESPONSE_DEFAULT_DUE_WEEKS;
4848
}
4949

5050
return Carbon::today()->endOfDay()->addWeeks($numWeeks);

0 commit comments

Comments
 (0)