Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.110
diff -u -p -r1.110 install.php
--- install.php	27 Dec 2007 17:25:27 -0000	1.110
+++ install.php	31 Dec 2007 12:11:35 -0000
@@ -434,7 +434,7 @@ function install_select_profile() {
   }
   elseif (sizeof($profiles) > 1) {
     foreach ($profiles as $profile) {
-      if ($_POST['profile'] == $profile->name) {
+      if (!empty($_POST['profile']) && ($_POST['profile'] == $profile->name)) {
         return $profile->name;
       }
     }
