]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Refactor User::getAvatarUrlForId into getAvatarUrl
[friendica.git] / mod / editpost.php
index e522522e3d5b9d6438474b859b0ba26313c80f13..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->getUserNickname(),
+               '$nickname' => $a->getLoggedInUserNickname(),
                '$is_mobile' => DI::mode()->isMobile(),
        ]);