diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php index 8b7e3c5d6..1e82472f8 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -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'] : ''); |