diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-27 23:48:57 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-28 13:20:48 +0100 |
commit | e9fa8c40aaf1c4fc356057bc7b248ce80c0766b0 (patch) | |
tree | 1ef927c8180a9f9ff3cb54f774e72d87b166f0b2 /src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php | |
parent | fc031e5706acf89ff21f22ca8004ddc7f9b43089 (diff) | |
download | wallabag-e9fa8c40aaf1c4fc356057bc7b248ce80c0766b0.tar.gz wallabag-e9fa8c40aaf1c4fc356057bc7b248ce80c0766b0.tar.zst wallabag-e9fa8c40aaf1c4fc356057bc7b248ce80c0766b0.zip |
Add test on tagAllForUser
And fix multiplication of entries returned by `tagAllForUser`.
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php b/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php index fb2d1f87..41ef25b8 100644 --- a/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php +++ b/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php | |||
@@ -65,7 +65,6 @@ class RuleBasedTagger | |||
65 | $tag = $this->getTag($user, $label); | 65 | $tag = $this->getTag($user, $label); |
66 | 66 | ||
67 | $entry->addTag($tag); | 67 | $entry->addTag($tag); |
68 | $entries[] = $entry; | ||
69 | } | 68 | } |
70 | } | 69 | } |
71 | } | 70 | } |