diff options
Diffstat (limited to 'views/default/object/default.php')
-rw-r--r-- | views/default/object/default.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/object/default.php b/views/default/object/default.php index 7ef563e91..6975804c3 100644 --- a/views/default/object/default.php +++ b/views/default/object/default.php @@ -29,7 +29,7 @@ if ($vars['full']) { $controls = ""; if ($vars['entity']->canEdit()) { $delete = elgg_view('output/confirm_link', array( - 'href' => "{$vars['url']}action/entities/delete?guid={$vars['entity']->guid}", + 'href' => elgg_get_site_url()."action/entities/delete?guid={$vars['entity']->guid}", 'text' => elgg_echo('delete') )); $controls .= " ($delete)"; |