summaryrefslogtreecommitdiffstats
path: root/index-install.php
diff options
context:
space:
mode:
Diffstat (limited to 'index-install.php')
-rw-r--r--index-install.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index-install.php b/index-install.php
index 0b30bac..18eafdf 100644
--- a/index-install.php
+++ b/index-install.php
@@ -451,7 +451,8 @@ function nowww() {
<?php
}
-switch( $_POST[ 'action' ] ) {
+$action = isset($_POST[ 'action' ]) ? $_POST[ 'action' ] : null;
+switch($action) {
case "step2":
if( substr( $_POST[ 'basedomain' ], 0, 4 ) == 'www.' ) {
printheader();