]> git.mxchange.org Git - friendica.git/commitdiff
improve direct login on network page
authorfriendica <info@friendica.com>
Wed, 11 Jan 2012 21:38:03 +0000 (13:38 -0800)
committerfriendica <info@friendica.com>
Wed, 11 Jan 2012 21:38:03 +0000 (13:38 -0800)
boot.php
mod/network.php

index 82bd7c364bc0178fe14749cdde245930cd705a70..d22f77504dc27fbeefbc9005bd9931f130bc227c 100644 (file)
--- 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      );
 
index 159da7f51f8b00d389e57798617ff7453160c91d..1f0878ba7bc5dc6e4b9888e624d5c20f6bd0176b 100644 (file)
@@ -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 = '';