Merge pull request #58 from dylanitorium/master
Fixing method call bug in canBeReviewedBy() (#1)
This commit is contained in:
commit
c403a8b231
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue