aboutsummaryrefslogtreecommitdiff
path: root/mod/likes/views/default/annotation/likes.php
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-07-21 15:49:31 -0700
committerEvan Winslow <evan@elgg.org>2012-07-21 15:49:31 -0700
commit55e11c0675508b4ccc2cb88ed2238a0c0a38cc17 (patch)
treecb23514f0dd4e2c559faa956ddd40044acefaa64 /mod/likes/views/default/annotation/likes.php
parent3cb2ce976fc024dfc700ef4500e5cddd01163e9c (diff)
downloadelgg-55e11c0675508b4ccc2cb88ed2238a0c0a38cc17.tar.gz
elgg-55e11c0675508b4ccc2cb88ed2238a0c0a38cc17.tar.bz2
Fixes #4750: Supporting both id and guid arguments for likes/delete
Diffstat (limited to 'mod/likes/views/default/annotation/likes.php')
-rw-r--r--mod/likes/views/default/annotation/likes.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/likes/views/default/annotation/likes.php b/mod/likes/views/default/annotation/likes.php
index d41522fc4..2b5acc520 100644
--- a/mod/likes/views/default/annotation/likes.php
+++ b/mod/likes/views/default/annotation/likes.php
@@ -29,11 +29,11 @@ $friendlytime = elgg_view_friendly_time($like->time_created);
if ($like->canEdit()) {
$delete_button = elgg_view("output/confirmlink",array(
- 'href' => "action/likes/delete?annotation_id={$like->id}",
- 'text' => "<span class=\"elgg-icon elgg-icon-delete float-alt\"></span>",
- 'confirm' => elgg_echo('deleteconfirm'),
- 'encode_text' => false,
- ));
+ 'href' => "action/likes/delete?id={$like->id}",
+ 'text' => "<span class=\"elgg-icon elgg-icon-delete float-alt\"></span>",
+ 'confirm' => elgg_echo('likes:delete:confirm'),
+ 'encode_text' => false,
+ ));
}
$body = <<<HTML