Merge "Special:Preference: Check for changes before enabling Save button"
[lhc/web/wiklou.git] / includes / installer / CliInstaller.php
index d5f0c67..715f5df 100644 (file)
@@ -108,8 +108,8 @@ class CliInstaller extends Installer {
                }
 
                // Detect and inject any extension found
-               if ( isset( $options['with-extensions'] ) ) {
-                       $this->setVar( '_Extensions', array_keys( $installer->findExtensions() ) );
+               if ( isset( $option['with-extensions'] ) ) {
+                       $this->setVar( '_Extensions', array_keys( $this->findExtensions() ) );
                }
 
                // Set up the default skins