diff options
Diffstat (limited to 'pages/photos/image/view.php')
-rw-r--r-- | pages/photos/image/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |