summaryrefslogtreecommitdiffstats
path: root/index-install.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-08-08 08:02:36 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-08-08 08:02:36 +0000
commit855fcbfa56a5600465e8cdd0b8d8d5250a85f679 (patch)
tree12b3d9e0e6a3a4a94434fc59c0fc50766c315380 /index-install.php
parentee13a1eb24a378da551cf4ea2ebc8312a1b46865 (diff)
downloadwordpress-mu-855fcbfa56a5600465e8cdd0b8d8d5250a85f679.tar.gz
wordpress-mu-855fcbfa56a5600465e8cdd0b8d8d5250a85f679.tar.xz
wordpress-mu-855fcbfa56a5600465e8cdd0b8d8d5250a85f679.zip
Make sure $action is defined, fixes #382, props omry
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1023 7be80a69-a1ef-0310-a953-fb0f7c49ff36
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();