mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:50:10 +00:00
Fix Issue #5896 by setting static return for edit_post to display item page (kind of revert parts of #5774)
This commit is contained in:
parent
ab20a83c0a
commit
be2e6c3929
2 changed files with 3 additions and 9 deletions
|
@ -157,7 +157,7 @@ class Post extends BaseObject
|
|||
if ($item["event-id"] != 0) {
|
||||
$edpost = ["events/event/" . $item['event-id'], L10n::t("Edit")];
|
||||
} else {
|
||||
$edpost = ["editpost/" . $item['id'] . "/" . base64_encode($a->cmd), L10n::t("Edit")];
|
||||
$edpost = ["editpost/" . $item['id'], L10n::t("Edit")];
|
||||
}
|
||||
$dropping = in_array($item['uid'], [0, local_user()]);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue