From 292330a21e1415b324896c4b632d171a4b12462a Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 20 May 2010 16:00:00 +0000 Subject: small bookmark add bug fixed. git-svn-id: http://code.elgg.org/elgg/trunk@6111 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/start.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod/bookmarks') 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, -- cgit v1.2.3