diff options
author | Michael Meer <michael@meer.name> | 2014-01-28 09:49:09 +0100 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2014-01-28 09:49:09 +0100 |
commit | 8ddee71c2b0f384470965dd46a2e594a4f98f8e0 (patch) | |
tree | 84bcf6e0f94365b186b4613b43d7a72f5f22f525 /mod/rpost.php | |
parent | 904db593df914d2932d9c2f018b00987052461d7 (diff) | |
parent | f104b4dc275891785ec03abd779d8aafe5163815 (diff) | |
download | volse-hubzilla-8ddee71c2b0f384470965dd46a2e594a4f98f8e0.tar.gz volse-hubzilla-8ddee71c2b0f384470965dd46a2e594a4f98f8e0.tar.bz2 volse-hubzilla-8ddee71c2b0f384470965dd46a2e594a4f98f8e0.zip |
Merge branch 'master' of https://github.com/friendica/red
to be in sync with main repro
Diffstat (limited to 'mod/rpost.php')
-rw-r--r-- | mod/rpost.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/rpost.php b/mod/rpost.php index 8e01ef5d4..852a57d78 100644 --- a/mod/rpost.php +++ b/mod/rpost.php @@ -65,8 +65,10 @@ function rpost_content(&$a) { if($_REQUEST['remote_return']) { $_SESSION['remote_return'] = $_REQUEST['remote_return']; } - if(argc() > 1 && argv(1) === 'return' && $_SESSION['remote_return']) { - goaway($_SESSION['remote_return']); + if(argc() > 1 && argv(1) === 'return') { + if($_SESSION['remote_return']) + goaway($_SESSION['remote_return']); + goaway(z_root() . '/network'); } $plaintext = true; |