aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/start.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-20 16:00:00 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-20 16:00:00 +0000
commit292330a21e1415b324896c4b632d171a4b12462a (patch)
tree23f2387204ccffba8930199f872558f6efdb958c /mod/bookmarks/start.php
parent69aa38ac22767d458399b33a7deccf410ee15f25 (diff)
downloadelgg-292330a21e1415b324896c4b632d171a4b12462a.tar.gz
elgg-292330a21e1415b324896c4b632d171a4b12462a.tar.bz2
small bookmark add bug fixed.
git-svn-id: http://code.elgg.org/elgg/trunk@6111 36083f99-b078-4883-b0ff-0f9b5a30f544
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,