This commit is contained in:
Steve Boyd 2024-10-02 05:51:26 +00:00 committed by GitHub
commit 57bba2336a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}