summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-06-24 13:22:08 +0000
committerthomascube <thomas@roundcube.net>2008-06-24 13:22:08 +0000
commit0d88e5095509ebf69ba748d5bb52460807c3880d (patch)
treefb6150e482b81f1d45203ccb6c0172cdb727638b
parenteec1d420e3f1d422d82caa0c4a2d9dbef8a7fea3 (diff)
Fix typo and re-enable input box for host
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index c2ad9cf87..057cabd04 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -474,7 +474,7 @@ class rcmail
public function autoselect_host()
{
$default_host = $this->config->get('default_host');
- $host = !empty($default_host) ? get_input_value('_host', RCUBE_INPUT_POST) : $default_host;
+ $host = empty($default_host) ? get_input_value('_host', RCUBE_INPUT_POST) : $default_host;
if (is_array($host)) {
list($user, $domain) = explode('@', get_input_value('_user', RCUBE_INPUT_POST));