aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-18 15:58:01 -0700
committerFriendika <info@friendika.com>2011-04-18 15:58:01 -0700
commite2c9d04b368fa4eea6c86381e6216cda68fde9b4 (patch)
treedc0ffad18c9a31463cf8c4a9c8f5989ca58f2b57 /mod/settings.php
parent9e54a070c2e8488e5f08465f13b59156e1fad26b (diff)
downloadvolse-hubzilla-e2c9d04b368fa4eea6c86381e6216cda68fde9b4.tar.gz
volse-hubzilla-e2c9d04b368fa4eea6c86381e6216cda68fde9b4.tar.bz2
volse-hubzilla-e2c9d04b368fa4eea6c86381e6216cda68fde9b4.zip
leave imap port blank if 0
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php2
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'] : '');