diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-09-03 20:25:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-03 20:25:15 +0200 |
commit | 3af5d41759c13420faa6f426491f1e95e5754908 (patch) | |
tree | 7ae4ccdc515838cbb5a879e4308a3a742a4de1cf /src/Wallabag/CoreBundle/Helper/TagsAssigner.php | |
parent | 9c4d1eb56a6bdd3cdeb5bed3d58be18395a5134b (diff) | |
parent | 7b4f66881d694c948aca9372da6362b8873de6bb (diff) | |
download | wallabag-3af5d41759c13420faa6f426491f1e95e5754908.tar.gz wallabag-3af5d41759c13420faa6f426491f1e95e5754908.tar.zst wallabag-3af5d41759c13420faa6f426491f1e95e5754908.zip |
Merge pull request #3139 from Kdecherf/2502-tag-case
Ignore tag's case
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/TagsAssigner.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/TagsAssigner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/TagsAssigner.php b/src/Wallabag/CoreBundle/Helper/TagsAssigner.php index a2fb0b9a..0bfe5c57 100644 --- a/src/Wallabag/CoreBundle/Helper/TagsAssigner.php +++ b/src/Wallabag/CoreBundle/Helper/TagsAssigner.php | |||
@@ -45,7 +45,7 @@ class TagsAssigner | |||
45 | } | 45 | } |
46 | 46 | ||
47 | foreach ($tags as $label) { | 47 | foreach ($tags as $label) { |
48 | $label = trim($label); | 48 | $label = trim(mb_convert_case($label, MB_CASE_LOWER)); |
49 | 49 | ||
50 | // avoid empty tag | 50 | // avoid empty tag |
51 | if (0 === strlen($label)) { | 51 | if (0 === strlen($label)) { |