mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
Merge 89c36475e4
into cd1b9ed9f2
This commit is contained in:
commit
57bba2336a
@ -662,6 +662,8 @@ class SiteTreeContentReview extends Extension implements PermissionProvider
|
|||||||
|
|
||||||
if (is_object($nextDate)) {
|
if (is_object($nextDate)) {
|
||||||
$this->owner->NextReviewDate = $nextDate->getValue();
|
$this->owner->NextReviewDate = $nextDate->getValue();
|
||||||
|
} elseif ($nextDate === false) {
|
||||||
|
$this->owner->NextReviewDate = null;
|
||||||
} else {
|
} else {
|
||||||
$this->owner->NextReviewDate = $nextDate;
|
$this->owner->NextReviewDate = $nextDate;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user