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