From 112c54ffbbfd65d2d76ce2526b77407f7fb067b8 Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 28 Feb 2008 22:59:02 +0000 Subject: Fix imap host selection in install script --- installer/config.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'installer/config.php') diff --git a/installer/config.php b/installer/config.php index 97052c8da..9d22c28dd 100644 --- a/installer/config.php +++ b/installer/config.php @@ -250,14 +250,10 @@ echo $select_dbba->show($RCI->getprop('db_backend'));
getprop('default_host'); $text_imaphost = new textfield(array('name' => '_default_host[]', 'size' => 30)); $i = 0; -foreach ($default_hosts as $key => $name) { - if (empty($name)) - continue; - $host = is_numeric($key) ? $name : $key; +foreach ($RCI->get_hostlist() as $host) { echo '
' . $text_imaphost->show($host); if ($i++ > 0) echo 'remove'; -- cgit v1.2.3