fix problem with dupe tags in profile

This commit is contained in:
Evan Prodromou 2009-02-28 15:17:49 -08:00
parent d92beda526
commit 0369946b6d
1 changed files with 22 additions and 21 deletions

View File

@ -45,6 +45,7 @@ class Profile_tag extends Memcached_DataObject
static function setTags($tagger, $tagged, $newtags) {
$newtags = array_unique($newtags);
$oldtags = Profile_tag::getTags($tagger, $tagged);
# Delete stuff that's old that not in new