Release 2.0.13 (#3955)
- added missing escape to prevent HTML injection - added missing color attribute - upgrade theme - use dropdown submenu if title is set, otherwise dropdown tends to get too long - allow to use card-table instead of card-body - added `required` attribute to username and password field - fix pagination back to page 1 - prevent tag name too long - re-add missing user preferences link
This commit is contained in:
@@ -55,12 +55,12 @@ final class TagFixtures extends Fixture
|
||||
$tagName = $faker->text(rand(5, 10));
|
||||
}
|
||||
|
||||
if (\in_array($tagName, $existing)) {
|
||||
if (\in_array(mb_strtolower($tagName), $existing, true)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$existing[] = $tagName;
|
||||
$tag->setName($tagName);
|
||||
$existing[] = mb_strtolower($tagName);
|
||||
$tag->setName(mb_substr($tagName, 0, 100));
|
||||
|
||||
$manager->persist($tag);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user