diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-02-17 17:26:45 -0800 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-02-17 17:26:45 -0800 |
commit | ee6da62511660cf5849fea1a39a3e94c1f2867c7 (patch) | |
tree | 95f9803c1ae0888f0633b1a9dae7d94aa8cb695c /classes | |
parent | b09db0ec2a35590cb13cda6ed053edc10e671035 (diff) | |
download | elgg-ee6da62511660cf5849fea1a39a3e94c1f2867c7.tar.gz elgg-ee6da62511660cf5849fea1a39a3e94c1f2867c7.tar.bz2 |
Fixes #15. Added untagging.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/TidypicsImage.php | 4 |
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; |