aboutsummaryrefslogtreecommitdiff
path: root/pages/photos/image/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/photos/image/view.php')
-rw-r--r--pages/photos/image/view.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/pages/photos/image/view.php b/pages/photos/image/view.php
index 6db9ff529..6bd0257e0 100644
--- a/pages/photos/image/view.php
+++ b/pages/photos/image/view.php
@@ -36,8 +36,8 @@ if (elgg_instanceof($owner, 'group')) {
} else {
elgg_push_breadcrumb($owner->name, "photos/owner/$owner->username");
}
-elgg_push_breadcrumb($album->title, $album->getURL());
-elgg_push_breadcrumb($photo->title);
+elgg_push_breadcrumb($album->getTitle(), $album->getURL());
+elgg_push_breadcrumb($photo->getTitle());
if (elgg_get_plugin_setting('download_link', 'tidypics')) {
// add download button to title menu
@@ -54,11 +54,11 @@ $content = elgg_view_entity($photo, array('full_view' => true));
$body = elgg_view_layout('content', array(
'filter' => false,
'content' => $content,
- 'title' => $photo->title,
+ 'title' => $photo->getTitle(),
'sidebar' => elgg_view('tidypics/sidebar', array(
'page' => 'view',
'image' => $photo,
)),
));
-echo elgg_view_page($photo->title, $body);
+echo elgg_view_page($photo->getTitle(), $body);