diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-08-08 08:02:36 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-08-08 08:02:36 +0000 |
commit | 855fcbfa56a5600465e8cdd0b8d8d5250a85f679 (patch) | |
tree | 12b3d9e0e6a3a4a94434fc59c0fc50766c315380 | |
parent | ee13a1eb24a378da551cf4ea2ebc8312a1b46865 (diff) | |
download | wordpress-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
-rw-r--r-- | index-install.php | 3 |
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(); |