From 011610e77030089f7df82d5e13197231b058e2cf Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Fri, 26 Sep 2014 22:53:05 +0200 Subject: [PATCH] Pass correct function name to checkType Change-Id: Ib221c3195c0826610c9d3c470a4923ccf54f90e9 --- engines/LuaCommon/LanguageLibrary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/LuaCommon/LanguageLibrary.php b/engines/LuaCommon/LanguageLibrary.php index 5a4ad5b6..8d278881 100644 --- a/engines/LuaCommon/LanguageLibrary.php +++ b/engines/LuaCommon/LanguageLibrary.php @@ -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 ) ) {