From dcc22ab5c5502b8bf36bc42308f114e7c0e4fb7e Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 11 Jan 2012 13:38:03 -0800 Subject: [PATCH] improve direct login on network page --- boot.php | 2 +- mod/network.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 82bd7c364b..d22f77504d 100644 --- a/boot.php +++ b/boot.php @@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1222' ); +define ( 'FRIENDICA_VERSION', '2.3.1223' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1115 ); diff --git a/mod/network.php b/mod/network.php index 159da7f51f..1f0878ba7b 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 = ''; -- 2.39.5