mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
Compare commits
2 Commits
aee13af0c2
...
57bba2336a
Author | SHA1 | Date | |
---|---|---|---|
|
57bba2336a | ||
|
89c36475e4 |
@ -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…
Reference in New Issue
Block a user