diff --git a/htdocs/user/card.php b/htdocs/user/card.php index b7c30417a71..f0b362b383e 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -333,7 +333,7 @@ if (empty($reshook)) { $id = $object->create($user); if ($id > 0) { - $resPass = ''; + $resPass = 0; if (GETPOST('password', 'none')) { $resPass = $object->setPassword($user, GETPOST('password', 'none')); }