aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/content/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/layouts/content/header.php')
-rw-r--r--views/default/page/layouts/content/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/page/layouts/content/header.php b/views/default/page/layouts/content/header.php
index 830c33885..e9c099b70 100644
--- a/views/default/page/layouts/content/header.php
+++ b/views/default/page/layouts/content/header.php
@@ -35,7 +35,7 @@ if ($context) {
elgg_register_menu_item('title', array(
'name' => 'add',
- 'href' => elgg_extract('new_link', $vars, "pg/$context/add/$guid"),
+ 'href' => elgg_extract('new_link', $vars, "$context/add/$guid"),
'text' => elgg_echo("$context:add"),
'class' => 'elgg-button elgg-button-action',
));