diff options
-rw-r--r-- | mod/bookmarks/start.php | 4 |
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, |