From 0f63a6276127f9e76bc11e70c03604ed33b6b9b0 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Thu, 20 Sep 2018 15:55:24 +0200 Subject: [PATCH] fix return fallback to SESSION Variable --- mod/editpost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/editpost.php b/mod/editpost.php index d4f5567eeb..9f4aee31d6 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', -- 2.39.5