Skip to content

Commit 48d8c30

Browse files
committed
use the supplied userId
1 parent ed06a9e commit 48d8c30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

solid/lib/Controller/PageController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private function getUserProfile($userId) {
5252
'displayName' => $user->getDisplayName(),
5353
'profileUri' => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->linkToRoute("solid.profile.handleGet", array("userId" => $userId, "path" => "/card"))) . "#me",
5454
'solidNavigation' => array(
55-
"profile" => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->linkToRoute("solid.page.profile", array("userId" => $this->userId))),
55+
"profile" => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->linkToRoute("solid.page.profile", array("userId" => $userId))),
5656
"launcher" => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->linkToRoute("solid.app.appLauncher", array())),
5757
)
5858
);

0 commit comments

Comments
 (0)