aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 21:21:21 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 21:21:21 +0000
commit9ebb6cff1cf22d4fb708c4ced37604c6cf5bbfae (patch)
tree4bd7bbc2a3578f1685c85a3478476c939775b40e
parent26b0603538eb447ab6832d9233e22ba7cf291b45 (diff)
downloadelgg-9ebb6cff1cf22d4fb708c4ced37604c6cf5bbfae.tar.gz
elgg-9ebb6cff1cf22d4fb708c4ced37604c6cf5bbfae.tar.bz2
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
-rw-r--r--mod/pages/views/default/pages/breadcrumbs.php2
-rw-r--r--views/foaf/user/default.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/pages/views/default/pages/breadcrumbs.php b/mod/pages/views/default/pages/breadcrumbs.php
index 868a3eeb5..0ab175339 100644
--- a/mod/pages/views/default/pages/breadcrumbs.php
+++ b/mod/pages/views/default/pages/breadcrumbs.php
@@ -5,7 +5,7 @@
* @package ElggPages
*/
-$page_owner = $vars['page_owner'];
+$page_owner = elgg_get_page_owner_guid();
$parent = $vars['parent'];
$breadcrumbs = '';
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) {
?>