aboutsummaryrefslogtreecommitdiff
path: root/views/default/content/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/content/header.php')
-rw-r--r--views/default/content/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/content/header.php b/views/default/content/header.php
index 469d79269..a7c0d1389 100644
--- a/views/default/content/header.php
+++ b/views/default/content/header.php
@@ -27,7 +27,7 @@ if ($context) {
} else {
if (isloggedin() && $context) {
$username = get_loggedin_user()->username;
- $new_link = elgg_get_array_value('new_link', $vars, "pg/$context/$username/new");
+ $new_link = elgg_get_array_value('new_link', $vars, "pg/$context/new/$username/");
$params = array(
'href' => $new_link = elgg_normalize_url($new_link),
'text' => elgg_echo("$context:new"),