Convert tag label to lowercase in RuleBasedTagger

Fixes #4266

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
Kevin Decherf
2021-03-06 13:34:36 +01:00
parent af5e79c425
commit 7acd207054
2 changed files with 32 additions and 0 deletions

View File

@ -94,6 +94,7 @@ class RuleBasedTagger
*/
private function getTag($label)
{
$label = mb_convert_case($label, \MB_CASE_LOWER);
$tag = $this->tagRepository->findOneByLabel($label);
if (!$tag) {