Commits

matteosister committed 25aea0c

error in the last commit. Already saved tags are now added to the object

Comments (0)

Files changed (1)

lib/behavior/TaggableBehavior.php

             \$theTag->setName(\$tag);
             \$theTag->save();
             \$this->addTag(\$theTag);
+        } else {
+            \$this->addTag(\$theTag);
         }
     }
 }