diff options
author | friendica <info@friendica.com> | 2012-01-11 13:38:03 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-01-11 13:38:03 -0800 |
commit | dcc22ab5c5502b8bf36bc42308f114e7c0e4fb7e (patch) | |
tree | 8471bd86636de1bd64af2691d89c9e923789fb32 /mod/network.php | |
parent | 99fc4309be6e47acc8e82cd0f462e4ce69f6a8bc (diff) | |
download | volse-hubzilla-dcc22ab5c5502b8bf36bc42308f114e7c0e4fb7e.tar.gz volse-hubzilla-dcc22ab5c5502b8bf36bc42308f114e7c0e4fb7e.tar.bz2 volse-hubzilla-dcc22ab5c5502b8bf36bc42308f114e7c0e4fb7e.zip |
improve direct login on network page
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index 159da7f51..1f0878ba7 100644 --- a/mod/network.php +++ b/mod/network.php @@ -96,8 +96,10 @@ function network_content(&$a, $update = 0) { require_once('include/conversation.php'); - if(! local_user()) + if(! local_user()) { + $_SESSION['return_url'] = $a->query_string; return login(false); + } $o = ''; |