X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FObject%2FPost.php;h=8b8463f8587fe5417e1ac17ed13b610cfb0ef5c5;hb=acc3c2d2c7bb10ff53e9ca2cb335701acfd4f940;hp=87951c19ccf52d4c5f69e6fd3ce4ee7066c9a4f2;hpb=4a626ef10176a6f4fca0367cd890f836c2ade44a;p=friendica.git diff --git a/src/Object/Post.php b/src/Object/Post.php index 87951c19cc..8b8463f858 100644 --- a/src/Object/Post.php +++ b/src/Object/Post.php @@ -220,7 +220,7 @@ class Post if ($item['event-id'] != 0) { $edpost = ['calendar/event/edit/' . $item['event-id'], DI::l10n()->t('Edit')]; } else { - $edpost = ['editpost/' . $item['id'], DI::l10n()->t('Edit')]; + $edpost = [sprintf('post/%s/edit', $item['id']), DI::l10n()->t('Edit')]; } } $dropping = in_array($item['uid'], [0, DI::userSession()->getLocalUserId()]);