Changeset 1023

Show
Ignore:
Timestamp:
08/08/07 08:02:36 (1 year ago)
Author:
donncha
Message:

Make sure $action is defined, fixes #382, props omry

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/index-install.php

    r1014 r1023  
    452452} 
    453453 
    454 switch( $_POST[ 'action' ] ) { 
     454$action = isset($_POST[ 'action' ]) ? $_POST[ 'action' ] : null;  
     455switch($action) { 
    455456        case "step2": 
    456457                if( substr( $_POST[ 'basedomain' ], 0, 4 ) == 'www.' ) {