bug - n'acceptait pas un mdp vide quand on éditait un mail
This commit is contained in:
parent
956f6fc2c6
commit
7d993ea51d
|
@ -56,7 +56,8 @@ if (!$res=$mail->get_details($mail_id)) {
|
||||||
include ("mail_edit.php");
|
include ("mail_edit.php");
|
||||||
exit();
|
exit();
|
||||||
} else {
|
} else {
|
||||||
if (!$mail->set_passwd($mail_id,$pass,($islocal == 1?false:true))) { /* SET THE PASSWORD */
|
$canbeempty = ($islocal != 1 || ($islocal == 1 && !$new_account))?true:false;
|
||||||
|
if (!$mail->set_passwd($mail_id,$pass,$canbeempty)) { /* SET THE PASSWORD */
|
||||||
include ("mail_edit.php");
|
include ("mail_edit.php");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue