]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Calendar/Show.php
Changes:
[friendica.git] / src / Module / Calendar / Show.php
index 7834958834d531bcd10a8c9c970e44389294750c..11b402760d9450f2d530950a62f4cf9cda1089d4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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();
                }