]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Merge pull request #10967 from annando/api
[friendica.git] / mod / editpost.php
index 5197708b4b7c8f7e2322cc9459c5d034c7f6caf5..cc72dbd3c2eddbd864b28250254b6467d96ce32d 100644 (file)
@@ -68,7 +68,7 @@ function editpost_content(App $a)
        DI::page()['htmlhead'] .= Renderer::replaceMacros($tpl, [
                '$ispublic' => '&nbsp;', // DI::l10n()->t('Visible to <strong>everybody</strong>'),
                '$geotag' => $geotag,
-               '$nickname' => $a->getNickname(),
+               '$nickname' => $a->getLoggedInUserNickname(),
                '$is_mobile' => DI::mode()->isMobile(),
        ]);