From a94ef1d6ebd94e2171073a0309bf26d2938074d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 25 Jan 2008 12:36:37 +0000 Subject: #205067 by asimmonds: kill notice in install.php when the profile is not yet set --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 2b83a3c52..16b2cf204 100644 --- a/install.php +++ b/install.php @@ -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; } } -- cgit v1.2.3