mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
calculate form return_url for post and message instead of using SESSION var
This commit is contained in:
parent
68c6895e1a
commit
807ad14521
3 changed files with 9 additions and 3 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'], L10n::t("Edit")];
|
||||
$edpost = ["editpost/" . $item['id'] . "/" . base64_encode($a->cmd), L10n::t("Edit")];
|
||||
}
|
||||
$dropping = in_array($item['uid'], [0, local_user()]);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue