Skip to content

Commit

Permalink
0001108: Click on Button "Show Member View" leads to error
Browse files Browse the repository at this point in the history
  • Loading branch information
chlulei committed Oct 19, 2023
1 parent c8fa8ba commit 5bcfac8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Services/Container/MemberView/class.ilMemberViewSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ public function setContainer(int $container): void
{
$this->container = $container;
ilSession::set(self::SESSION_MEMBER_VIEW_CONTAINER, $this->container);
/** @var ilContainer $my_container **/
$my_container = ilObjectFactory::getInstanceByRefId($container);
$this->container_service
->internal()
->domain()
->content()
->mode()
->mode($my_container)
->setContentMode();
}

Expand Down

0 comments on commit 5bcfac8

Please sign in to comment.