mylang default to 'null'
authorAntoine Musso <hashar@users.mediawiki.org>
Thu, 12 Apr 2007 22:24:25 +0000 (22:24 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Thu, 12 Apr 2007 22:24:25 +0000 (22:24 +0000)
maintenance/language/checkExtensioni18n.php

index 9f57498..34f0f1b 100644 (file)
@@ -221,7 +221,7 @@ die;
 }
 
 // Play with options and arguments
-$myLang = $options['mylang'];
+$myLang = isset($options['mylang']) ? $options['mylang'] : null;
 
 if( isset( $options['extdir'] ) ) {
        $extdb = $options['extdir'] . '/' . EXT_I18N_DB ;