mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 07:54:26 +02:00
added network page
This commit is contained in:
parent
059e090b53
commit
5e4df4b3f7
9 changed files with 194 additions and 10 deletions
|
@ -26,6 +26,7 @@ if((x($_SESSION,'authenticated')) && (! ($_POST['auth-params'] == 'login'))) {
|
|||
$r = q("SELECT * FROM `contact` WHERE `uid` = %s AND `self` = 1 LIMIT 1",
|
||||
intval($_SESSION['uid']));
|
||||
if(count($r)) {
|
||||
$a->contact = $r[0];
|
||||
$a->cid = $r[0]['id'];
|
||||
$_SESSION['cid'] = $a->cid;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue