]> git.mxchange.org Git - friendica.git/blobdiff - mod/ping.php
-Wall cleanup
[friendica.git] / mod / ping.php
index 731562cd1a973b127a8e5f1b163c03f0188e4abf..0831e57bfa723bca2e84e09f6bb593feae110c6e 100644 (file)
@@ -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()),