From efdd4b6544e14355f6ae0e6151c6f828271d3913 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Mon, 28 Nov 2011 07:50:23 -0500 Subject: working on album sorting --- pages/photos/image/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/photos/image/view.php') diff --git a/pages/photos/image/view.php b/pages/photos/image/view.php index d9231eb08..f172b7cd6 100644 --- a/pages/photos/image/view.php +++ b/pages/photos/image/view.php @@ -21,7 +21,7 @@ $owner = elgg_get_page_owner_entity(); // set up breadcrumbs elgg_push_breadcrumb(elgg_echo('photos'), 'photos/all'); -if (elgg_instanceof($page_owner, 'group')) { +if (elgg_instanceof($owner, 'group')) { elgg_push_breadcrumb($owner->name, "photos/group/$owner->guid/all"); } else { elgg_push_breadcrumb($owner->name, "photos/owner/$owner->username"); -- cgit v1.2.3