summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcmail.php')
-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));