diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-13 22:35:35 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-13 22:35:35 -0400 |
commit | e790d7ec5d74c5a2279d6bd73e2508eb18209da9 (patch) | |
tree | 38ed43f391038d641372e8887bcc9b68b9e55a15 /classes | |
parent | f611a0505343629bb3c353647334f039bbed48af (diff) | |
parent | 0ec5f4f4f8d9011e460d17156ddf20d96483600d (diff) | |
download | elgg-e790d7ec5d74c5a2279d6bd73e2508eb18209da9.tar.gz elgg-e790d7ec5d74c5a2279d6bd73e2508eb18209da9.tar.bz2 |
Added deleting photo tags
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; |