3 --- a/program/include/rcmail.php~ 2008-06-07 21:33:07.000000000 +0200
4 +++ a/program/include/rcmail.php 2008-06-22 13:36:57.000000000 +0200
6 public function autoselect_host()
8 $default_host = $this->config->get('default_host');
9 - $host = !empty($default_host) ? get_input_value('_host', RCUBE_INPUT_POST) : $default_host;
10 + $host = isset($_POST['_host']) ? get_input_value('_host', RCUBE_INPUT_POST) : $default_host;
12 if (is_array($host)) {
13 list($user, $domain) = explode('@', get_input_value('_user', RCUBE_INPUT_POST));