mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 15:05:47 +00: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)) {
|
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…
x
Reference in New Issue
Block a user