aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/start.php')
-rw-r--r--mod/bookmarks/start.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index ec1fb1c3a..778133d4f 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -205,6 +205,10 @@ function bookmarks_page_handler($page) {
if ($owner != $logged_in_user || $context == 'action') {
$header = elgg_view('navigation/breadcrumbs');
}
+ //if no user is set
+ if(!$owner_name){
+ $owner_name = get_loggedin_user()->username;
+ }
$header .= elgg_view("page_elements/content_header", array(
'context' => $context,