aboutsummaryrefslogtreecommitdiffstats
path: root/include/auth.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-16 17:16:50 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-16 17:16:50 -0700
commit5e4df4b3f7782f8a82664d24b86d46a14b3d178b (patch)
tree3728d103be213e4b2965f066441af731b2aa5a72 /include/auth.php
parent059e090b53643cb07a2634b700ada5cf3b6894e8 (diff)
downloadvolse-hubzilla-5e4df4b3f7782f8a82664d24b86d46a14b3d178b.tar.gz
volse-hubzilla-5e4df4b3f7782f8a82664d24b86d46a14b3d178b.tar.bz2
volse-hubzilla-5e4df4b3f7782f8a82664d24b86d46a14b3d178b.zip
added network page
Diffstat (limited to 'include/auth.php')
-rw-r--r--include/auth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php
index 387cab0af..ef5c6f0b4 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -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;
}