Update card.php
This commit is contained in:
parent
adb37a5f5f
commit
1ef66c208f
@ -333,7 +333,7 @@ if (empty($reshook)) {
|
|||||||
|
|
||||||
$id = $object->create($user);
|
$id = $object->create($user);
|
||||||
if ($id > 0) {
|
if ($id > 0) {
|
||||||
$resPass = '';
|
$resPass = 0;
|
||||||
if (GETPOST('password', 'none')) {
|
if (GETPOST('password', 'none')) {
|
||||||
$resPass = $object->setPassword($user, GETPOST('password', 'none'));
|
$resPass = $object->setPassword($user, GETPOST('password', 'none'));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user