Merge pull request #58 from dylanitorium/master

Fixing method call bug in canBeReviewedBy() (#1)
This commit is contained in:
Damian Mooyman 2017-07-13 18:25:20 +12:00 committed by GitHub
commit c403a8b231

View File

@ -453,6 +453,10 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
}
$options = $this->getOptions();
if (!$options) {
return false;
}
if ($options->OwnerGroups()->count() == 0 && $options->OwnerUsers()->count() == 0) {
return false;