From 5e4df4b3f7782f8a82664d24b86d46a14b3d178b Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Fri, 16 Jul 2010 17:16:50 -0700 Subject: added network page --- include/auth.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/auth.php') 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; } -- cgit v1.2.3