aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-02-17 17:26:45 -0800
committerBrett Profitt <brett.profitt@gmail.com>2012-02-17 17:26:45 -0800
commitee6da62511660cf5849fea1a39a3e94c1f2867c7 (patch)
tree95f9803c1ae0888f0633b1a9dae7d94aa8cb695c /classes
parentb09db0ec2a35590cb13cda6ed053edc10e671035 (diff)
downloadelgg-ee6da62511660cf5849fea1a39a3e94c1f2867c7.tar.gz
elgg-ee6da62511660cf5849fea1a39a3e94c1f2867c7.tar.bz2
Fixes #15. Added untagging.
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;