aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-03-22 13:03:17 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-03-22 13:03:17 -0700
commit271e824fae382c2b605d73135597a42323f691a9 (patch)
treebb8c1942bedbc0af4ce9132b380c7ba718723a41 /views
parentb3438c2d88ba48529275cadd57849cad7fc08e02 (diff)
downloadelgg-271e824fae382c2b605d73135597a42323f691a9.tar.gz
elgg-271e824fae382c2b605d73135597a42323f691a9.tar.bz2
Fixed deprecated use of get_annotation().
Diffstat (limited to 'views')
-rw-r--r--views/default/photos/tagging/tag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/photos/tagging/tag.php b/views/default/photos/tagging/tag.php
index 6f6af968a..6bdc0db02 100644
--- a/views/default/photos/tagging/tag.php
+++ b/views/default/photos/tagging/tag.php
@@ -29,7 +29,7 @@ if ($vars['tag']->type == 'user') {
}
$delete = '';
-$annotation = get_annotation($vars['tag']->annotation_id);
+$annotation = elgg_get_annotation_from_id($vars['tag']->annotation_id);
if ($annotation->canEdit()) {
$url = elgg_http_add_url_query_elements('action/photos/image/untag', array(