aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/content/header.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-20 01:42:21 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-20 01:42:21 +0000
commit1ccd2862bfb46b5785db59dbfdf2ce841934a1c7 (patch)
tree2108076fa11dde651627b131a7ba6c375e82ec7a /views/default/layout/shells/content/header.php
parentef4f209683bb889a077021ba3e54541e1e7b5134 (diff)
downloadelgg-1ccd2862bfb46b5785db59dbfdf2ce841934a1c7.tar.gz
elgg-1ccd2862bfb46b5785db59dbfdf2ce841934a1c7.tar.bz2
using page owner rather than owner for better support for groups
git-svn-id: http://code.elgg.org/elgg/trunk@7888 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/shells/content/header.php')
-rw-r--r--views/default/layout/shells/content/header.php2
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),