Commits

matteosister committed df6754d

not break the loop but continue

  • Participants
  • Parent commits 622cc77

Comments (0)

Files changed (1)

File lib/behavior/TaggableBehavior.php

 
     foreach (\$arrTags as \$tag) {
         \$tag = trim(\$tag);
-        if (\$tag == \"\") return;
+        if (\$tag == \"\") continue;
         \$theTag = {$this->tagTable->getPhpName()}Query::create()->filterByName(\$tag)->findOne();
 
         // if the tag do not already exists