aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-13 22:35:35 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-13 22:35:35 -0400
commite790d7ec5d74c5a2279d6bd73e2508eb18209da9 (patch)
tree38ed43f391038d641372e8887bcc9b68b9e55a15 /classes
parentf611a0505343629bb3c353647334f039bbed48af (diff)
parent0ec5f4f4f8d9011e460d17156ddf20d96483600d (diff)
downloadelgg-e790d7ec5d74c5a2279d6bd73e2508eb18209da9.tar.gz
elgg-e790d7ec5d74c5a2279d6bd73e2508eb18209da9.tar.bz2
Added deleting photo tags
Diffstat (limited to 'classes')
-rw-r--r--classes/TidypicsImage.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/TidypicsImage.php b/classes/TidypicsImage.php
index b97a2b05e..a64743017 100644
--- a/classes/TidypicsImage.php
+++ b/classes/TidypicsImage.php
@@ -348,7 +348,9 @@ class TidypicsImage extends ElggFile {
'annotation_name' => 'phototag',
));
foreach ($annotations as $annotation) {
- $tags[] = unserialize($annotation->value);
+ $tag = unserialize($annotation->value);
+ $tag->annotation_id = $annotation->id;
+ $tags[] = $tag;
}
return $tags;