]> git.agnieray.net Git - galette.git/commitdiff
Fix password storage
authorJohan Cwiklinski <johan@x-tnd.be>
Sun, 18 Apr 2021 12:29:16 +0000 (14:29 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 18 Apr 2021 12:29:16 +0000 (14:29 +0200)
galette/lib/Galette/Entity/Adherent.php

index 548bc66518ba2ac6754544e35e7e03ca8eb70698..156b11d073b0cfe3777193e01858a505a81b20fe 100644 (file)
@@ -1113,7 +1113,7 @@ class Adherent
                 // now, check validity
                 if ($value !== null && $value != '') {
                     $this->validate($key, $value, $values);
-                } elseif (!isset($this->id)) {
+                } elseif (!isset($this->_id)) {
                     //ensure login and password are not empty
                     if (($key == 'login_adh' || $key == 'mdp_adh') && !isset($required[$key])) {
                         $p = new Password($this->zdb);