From fab63ca751beac91d12e06c194101cacd1f909e5 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 30 Oct 2010 13:25:37 -0700 Subject: -Wall cleanup --- mod/ping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/ping.php') diff --git a/mod/ping.php b/mod/ping.php index 731562cd1..0831e57bf 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -25,7 +25,7 @@ function ping_init(&$a) { ); $intro = $r[0]['total']; - $myurl = $a->get_baseurl() . '/profile/' . $user['nickname'] ; + $myurl = $a->get_baseurl() . '/profile/' . $a->user['nickname'] ; $r = q("SELECT COUNT(*) AS `total` FROM `mail` WHERE `uid` = %d AND `seen` = 0 AND `from-url` != '%s' ", intval(local_user()), -- cgit v1.2.3