diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-25 12:36:37 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-25 12:36:37 +0000 |
commit | a94ef1d6ebd94e2171073a0309bf26d2938074d8 (patch) | |
tree | 0e4392aa6b5d85d0c7e052ae546e039260072df6 /install.php | |
parent | 7a0111afb1467aadfe71d1166c15c6593502da5d (diff) | |
download | brdo-a94ef1d6ebd94e2171073a0309bf26d2938074d8.tar.gz brdo-a94ef1d6ebd94e2171073a0309bf26d2938074d8.tar.bz2 |
#205067 by asimmonds: kill notice in install.php when the profile is not yet set
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |