1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Tag: render tags case-insensitive by storing them in lowercase

Fixes #2502

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
Kevin Decherf 2017-05-21 17:01:59 +02:00
parent 2490f61dca
commit 7036d91fe7
4 changed files with 7 additions and 5 deletions

View file

@ -78,7 +78,7 @@ class Tag
*/
public function setLabel($label)
{
$this->label = $label;
$this->label = mb_convert_case($label, MB_CASE_LOWER);
return $this;
}