Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed May 9, 2024
1 parent 402b1f6 commit 3a6b34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galette/lib/Galette/Core/Preferences.php
Expand Up @@ -508,7 +508,7 @@ public function check(array $values, Login $login): bool
// obtain fields
foreach ($this->getFieldsNames() as $fieldname) {
if (isset($values[$fieldname])) {
if (is_string($values[$fieldname])) {
if (is_string($values[$fieldname])) {
$value = trim($values[$fieldname]);
} else {
$value = $values[$fieldname];
Expand Down

0 comments on commit 3a6b34d

Please sign in to comment.