Permalink
Browse files

MINOR TwoStep now refers to siteconfig for members

  • Loading branch information...
rixth committed Nov 2, 2009
1 parent 9b2df02 commit ca52f98916cee591ec24963d205f71875aa767e8
Showing with 2 additions and 2 deletions.
  1. +2 −2 code/TwoStep/SiteTreeCMSTwoStepWorkflow.php
@@ -76,7 +76,7 @@ public function PublisherMembers() {
} elseif($this->owner->CanPublishType == 'Inherit') {
if ($this->owner->Parent()->Exists()) {
return $this->owner->Parent()->PublisherMembers();
- } else { return new DataObjectSet(); }
+ } else { return SiteConfig::current_site_config()->PublisherMembers(); }
} elseif($this->owner->CanPublishType == 'LoggedInUsers') {
return Permission::get_members_by_permission('CMS_ACCESS_CMSMain');
} else {
@@ -190,4 +190,4 @@ function augmentDefaultRecords() {
if(method_exists('DB', 'alteration_message')) DB::alteration_message("Added site content publisher group","created");
}
}
-}
+}

0 comments on commit ca52f98

Please sign in to comment.