浏览代码

BugFix - check_auth (#2672)

the update to check_auth to enable text i made a mistake and put the
wrong parameter into get. this corrects that
Mafoo 8 年之前
父节点
当前提交
713def595d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/check_auth.php

+ 1 - 1
resources/check_auth.php

@@ -28,7 +28,7 @@
 
 
 //add multi-lingual support
 //add multi-lingual support
 	$language = new text;
 	$language = new text;
-	$text = $language->get('resources');
+	$text = $language->get(null, 'resources');
 
 
 //for compatibility require this library if less than version 5.5
 //for compatibility require this library if less than version 5.5
 	if (version_compare(phpversion(), '5.5', '<')) {
 	if (version_compare(phpversion(), '5.5', '<')) {