diff --git a/protected/humhub/modules/content/components/ContentContainerController.php b/protected/humhub/modules/content/components/ContentContainerController.php index ff0f5d4b58..d5c55f2bdf 100644 --- a/protected/humhub/modules/content/components/ContentContainerController.php +++ b/protected/humhub/modules/content/components/ContentContainerController.php @@ -132,11 +132,7 @@ class ContentContainerController extends Controller */ public function getAccess() { - if ($this->contentContainer) { - return new ContentContainerControllerAccess(['contentContainer' => $this->contentContainer]); - } - - return parent::getAccess(); + return new ContentContainerControllerAccess(['contentContainer' => $this->contentContainer]); } /**