leave imap port blank if 0
This commit is contained in:
parent
9e54a070c2
commit
e2c9d04b36
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ function settings_content(&$a) {
|
|||
);
|
||||
|
||||
$mail_server = ((count($r)) ? $r[0]['server'] : '');
|
||||
$mail_port = ((count($r)) ? $r[0]['port'] : '');
|
||||
$mail_port = ((count($r)) ? intval($r[0]['port']) : '');
|
||||
$mail_ssl = ((count($r)) ? $r[0]['ssltype'] : '');
|
||||
$mail_user = ((count($r)) ? $r[0]['user'] : '');
|
||||
$mail_replyto = ((count($r)) ? $r[0]['reply_to'] : '');
|
||||
|
|
Loading…
Reference in a new issue