aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/commentwall/commentwall_content.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default/profile/commentwall/commentwall_content.php')
-rw-r--r--mod/profile/views/default/profile/commentwall/commentwall_content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/commentwall/commentwall_content.php b/mod/profile/views/default/profile/commentwall/commentwall_content.php
index 360627c0c..666c95a87 100644
--- a/mod/profile/views/default/profile/commentwall/commentwall_content.php
+++ b/mod/profile/views/default/profile/commentwall/commentwall_content.php
@@ -16,7 +16,7 @@
// if the user looking at the comment can edit, show the delete link
if ($vars['annotation']->canEdit()) {
echo "<div class='entity_metadata'><span class='delete_button'>" . elgg_view("output/confirmlink",array(
- 'href' => $vars['url'] . "action/profile/deletecomment?annotation_id=" . $vars['annotation']->id,
+ 'href' => elgg_get_site_url() . "action/profile/deletecomment?annotation_id=" . $vars['annotation']->id,
'text' => elgg_echo('delete'),
'confirm' => elgg_echo('deleteconfirm'),
)) . "</span></div>";