]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Calendar/Show.php
spelling: however
[friendica.git] / src / Module / Calendar / Show.php
index 09c319ac9d2329dffb7b20cad1513987534463cf..e5e7c2444fa431364497f5314d2d112212b5cfff 100644 (file)
@@ -64,7 +64,7 @@ class Show extends BaseModule
 
        protected function content(array $request = []): string
        {
-               $nickname = $this->parameters['nickname'] ?? $this->app->getLoggedInUserNickname();
+               $nickname = $this->parameters['nickname'] ?? $this->session->getLocalUserNickname();
                if (!$nickname) {
                        throw new HTTPException\UnauthorizedException();
                }