X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=d6493b3c0c1a8aa34f4d9c547ca1688fe3ca8759;hb=738cb4ace6cb3dc4a78320577ffbdb3cdb773132;hp=d4f5567eeb33880e8638a9baf1805fc48ec78f50;hpb=d039d9510663db9985ece1f9fd96d30d5216e9d9;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index d4f5567eeb..d6493b3c0c 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -30,7 +30,7 @@ function editpost_content(App $a) // Fallback to SESSION return_path if (empty($return_url)) { - $return_url = $_SESSION['return_path']; + $return_url = $_SESSION['return_url']; } $fields = ['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', @@ -57,15 +57,6 @@ function editpost_content(App $a) '$nickname' => $a->user['nickname'] ]); - $tpl = get_markup_template('jot-end.tpl'); - $a->page['end'] .= replace_macros($tpl, [ - '$baseurl' => System::baseUrl(), - '$ispublic' => ' ', // L10n::t('Visible to everybody'), - '$geotag' => $geotag, - '$nickname' => $a->user['nickname'] - ]); - - $tpl = get_markup_template("jot.tpl"); if (strlen($item['allow_cid']) || strlen($item['allow_gid']) || strlen($item['deny_cid']) || strlen($item['deny_gid'])) {