improve direct login on network page
This commit is contained in:
parent
99fc4309be
commit
dcc22ab5c5
2 changed files with 4 additions and 2 deletions
|
@ -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 = '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue