]> git.mxchange.org Git - friendica.git/commitdiff
fix return fallback to SESSION Variable
authorJonny Tischbein <jonny_tischbein@systemli.org>
Thu, 20 Sep 2018 13:55:24 +0000 (15:55 +0200)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Thu, 20 Sep 2018 13:55:24 +0000 (15:55 +0200)
mod/editpost.php

index d4f5567eeb33880e8638a9baf1805fc48ec78f50..9f4aee31d6c63421a2692990b123a3926ac17ec8 100644 (file)
@@ -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',