summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-25 12:36:37 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-25 12:36:37 +0000
commita94ef1d6ebd94e2171073a0309bf26d2938074d8 (patch)
tree0e4392aa6b5d85d0c7e052ae546e039260072df6 /install.php
parent7a0111afb1467aadfe71d1166c15c6593502da5d (diff)
downloadbrdo-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.php2
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;
}
}