diff options
Diffstat (limited to 'views/default/layout/shells/content/header.php')
-rw-r--r-- | views/default/layout/shells/content/header.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/layout/shells/content/header.php b/views/default/layout/shells/content/header.php index 4eee09b5e..7f3afc535 100644 --- a/views/default/layout/shells/content/header.php +++ b/views/default/layout/shells/content/header.php @@ -26,7 +26,7 @@ if ($context) { $buttons = $vars['buttons']; } else { if (isloggedin() && $context) { - $guid = get_loggedin_userid(); + $guid = elgg_get_page_owner_guid(); $new_link = elgg_get_array_value('new_link', $vars, "pg/$context/add/$guid/"); $params = array( 'href' => $new_link = elgg_normalize_url($new_link), |