aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php4
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 = '';