mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
ea4b6f5357
If a page has it's `ContentReviewType` `Disabled` (either directly or on a parent via a `Inherit`) **AND ** has a `NextReviewDate` in the past, the page will cause a fatal error when attempting to load it for editing in the CMS. We can avoid this by checking if a pages Options are a boolean value (false for disabled) before trying to call methods on it. Addresses issue #55 |
||
---|---|---|
.. | ||
ContentReviewCMSExtension.php | ||
ContentReviewDefaultSettings.php | ||
ContentReviewOwner.php | ||
SiteTreeContentReview.php |