Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Meier <[email protected]>
  • Loading branch information
RMM authored and Michael committed Feb 17, 2025
1 parent 3873cb0 commit fb6de1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/SitesManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public function getSiteById(int $id) {
public function getSitesToDisplay() {
$sites = $this->getSites();
$lang = $this->languageFactory->findLanguage();
$locale = $this->languageFactory->findLocale();
$device = $this->getDeviceFromUserAgent();

$user = $this->userSession->getUser();
Expand Down Expand Up @@ -138,8 +139,8 @@ public function getSitesToDisplay() {
}

$site['url'] = str_replace(
['{email}', '{uid}', '{displayname}', '{jwt}', '{groups}', '{language}'],
array_map('rawurlencode', [$email, $uid, $displayName, $jwt, implode(',', $groups), $lang]),
['{email}', '{uid}', '{displayname}', '{jwt}', '{groups}', '{language}'],
array_map('rawurlencode', [$email, $uid, $displayName, $jwt, implode(',', $groups), $lang]),
$site['url']
);

Expand Down

0 comments on commit fb6de1b

Please sign in to comment.