diff options
author | Friendika <info@friendika.com> | 2011-04-18 16:00:02 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-18 16:00:02 -0700 |
commit | 4b6a24ec3fe43a9b54eacd02684d07eb4a853a2c (patch) | |
tree | 4824c30d816f29b0365970ad7c2927c758079246 /include | |
parent | e2c9d04b368fa4eea6c86381e6216cda68fde9b4 (diff) | |
download | volse-hubzilla-4b6a24ec3fe43a9b54eacd02684d07eb4a853a2c.tar.gz volse-hubzilla-4b6a24ec3fe43a9b54eacd02684d07eb4a853a2c.tar.bz2 volse-hubzilla-4b6a24ec3fe43a9b54eacd02684d07eb4a853a2c.zip |
don't try to connect to port 0
Diffstat (limited to 'include')
-rw-r--r-- | include/email.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/email.php b/include/email.php index 91aafd45e..db10af2ee 100644 --- a/include/email.php +++ b/include/email.php @@ -20,7 +20,7 @@ function email_poll($mbox,$email_addr) { function construct_mailbox_name($mailacct) { - $ret = '{' . $mailacct['server'] . (($mailacct['port']) ? ':' . $mailacct['port'] : ''); + $ret = '{' . $mailacct['server'] . ((intval($mailacct['port'])) ? ':' . $mailacct['port'] : ''); $ret .= (($mailacct['ssltype']) ? '/' . $mailacct['ssltype'] . '/novalidate-cert' : ''); $ret .= '}' . $mailacct['mailbox']; return $ret; |