mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 00:05:00 +00:00
Pass correct function name to checkType
Change-Id: Ib221c3195c0826610c9d3c470a4923ccf54f90e9
This commit is contained in:
parent
ffe675735c
commit
011610e770
|
@ -94,7 +94,7 @@ class Scribunto_LuaLanguageLibrary extends Scribunto_LuaLibraryBase {
|
|||
}
|
||||
|
||||
function getFallbacksFor( $code ) {
|
||||
$this->checkType( 'fetchLanguageNames', 1, $code , 'string' );
|
||||
$this->checkType( 'getFallbacksFor', 1, $code , 'string' );
|
||||
$ret = Language::getFallbacksFor( $code );
|
||||
// Make 1-based
|
||||
if ( count( $ret ) ) {
|
||||
|
|
Loading…
Reference in a new issue