Fixed fatal in r84971
authorMax Semenik <maxsem@users.mediawiki.org>
Wed, 30 Mar 2011 18:45:13 +0000 (18:45 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Wed, 30 Mar 2011 18:45:13 +0000 (18:45 +0000)
maintenance/install.php

index caaf285..87a2494 100644 (file)
@@ -70,7 +70,7 @@ class CommandLineInstaller extends Maintenance {
                        $installer->showStatusMessage( $status );
                        return;
                }
-               if( !$this->getVar( 'env-checks' ) ) {
+               if( !$this->hasOption( 'env-checks' ) ) {
                        $installer->execute();
                        $installer->writeConfigurationFile( $this->getOption( 'confpath', $IP ) );
                }