Skip to content

Commit

Permalink
[#797] Fixed saving duplicate tags on the one object - thanks Tim
Browse files Browse the repository at this point in the history
  • Loading branch information
miknight committed Mar 25, 2008
1 parent cc9034c commit 8107ed5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/models/tags/Tags.class.php
Expand Up @@ -75,6 +75,7 @@ function clearObjectTags(ProjectDataobject $object, $manager_class) {
function setObjectTags($tags, ProjectDataObject $object, $manager_class, $project = null) {
self::clearObjectTags($object, $manager_class);
if (is_array($tags) && count($tags)) {
$tags = array_unique($tags);
foreach ($tags as $tag_name) {

if (trim($tag_name) <> '') {
Expand Down

0 comments on commit 8107ed5

Please sign in to comment.