From 9ebb6cff1cf22d4fb708c4ced37604c6cf5bbfae Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 21:21:21 +0000 Subject: Refs #2124: Using elgg_get_page_owner instead of $vars['page_owner'] in views git-svn-id: http://code.elgg.org/elgg/trunk@7138 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/foaf/user/default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/foaf/user/default.php') diff --git a/views/foaf/user/default.php b/views/foaf/user/default.php index bcba3b3c2..b2da08f29 100644 --- a/views/foaf/user/default.php +++ b/views/foaf/user/default.php @@ -6,7 +6,7 @@ * @subpackage Core */ -$friends=get_user_friends($vars['page_owner'],$subtype = "",$limit = 10000,$offset = 0); +$friends=get_user_friends(elgg_get_page_owner_guid(), $subtype = "", $limit = 10000, $offset = 0); foreach ($friends as $friend) { ?> -- cgit v1.2.3