fix order and update of user settings form

This commit is contained in:
Kevin Papst
2020-08-18 23:22:16 +02:00
parent fbb3dd89cf
commit d8ae7635d1
7 changed files with 74 additions and 89 deletions

View File

@@ -336,7 +336,7 @@ class User extends BaseUser implements UserInterface
}
foreach ($this->preferences as $preference) {
if ($preference->getName() == $name) {
if ($preference->getName() === $name) {
return $preference;
}
}