]> git.agnieray.net Git - galette.git/commitdiff
Fix expacted variable type
authorJohan Cwiklinski <johan@x-tnd.be>
Mon, 3 Aug 2020 05:31:24 +0000 (07:31 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 3 Aug 2020 05:31:24 +0000 (07:31 +0200)
galette/lib/Galette/IO/CsvIn.php

index 12fe0373f402a1a620198a66b947711074334030..a842b8f6040e43c68f50cd9b91dbaa3cfd0237bb 100644 (file)
@@ -517,7 +517,7 @@ class CsvIn extends Csv implements FileInterface
                         $values['mdp_adh2'] = $values['mdp_adh'];
                     }
 
-                    $valid = $member->check($values, $this->_required, null);
+                    $valid = $member->check($values, $this->_required, []);
                     if ($valid === true) {
                         if ($this->_dryrun === false) {
                             $store = $member->store();