From 239f72dddaefec7f0f6ab1dbddacf8e7340ed7dc Mon Sep 17 00:00:00 2001 From: Crizzo Date: Tue, 11 Mar 2014 18:24:35 +0100 Subject: [PATCH 1/2] [ticket/10549] changed "right" to "incorrect" PHPBB3-10549 --- phpBB/language/en/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php index 663369b8fa..62c18c109c 100644 --- a/phpBB/language/en/common.php +++ b/phpBB/language/en/common.php @@ -343,7 +343,7 @@ $lang = array_merge($lang, array( 'MODERATORS' => 'Moderators', 'MODULE_NOT_ACCESS' => 'Module not accessible', 'MODULE_NOT_FIND' => 'Cannot find module %s', - 'MODULE_FILE_RIGHT_CLASS' => 'Module file %s does not contain correct class [%s]', + 'MODULE_FILE_INCORRECT_CLASS' => 'Module file %s does not contain correct class [%s]', 'MONTH' => 'Month', 'MOVE' => 'Move', 'MSNM' => 'MSNM/WLM', From d95d062a4276504e1855d44aaddba2ff9bb974d6 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Tue, 11 Mar 2014 18:45:46 +0100 Subject: [PATCH 2/2] [ticket/10549] using correct variable in includes/functions_module.php too PHPBB3-10549 --- phpBB/includes/functions_module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php index bb6913a572..0cc2425b28 100644 --- a/phpBB/includes/functions_module.php +++ b/phpBB/includes/functions_module.php @@ -450,7 +450,7 @@ class p_master if (!class_exists("{$this->p_class}_$this->p_name")) { - trigger_error($user->lang('MODULE_FILE_RIGHT_CLASS', "$module_path/{$this->p_class}_$this->p_name.$phpEx", "{$this->p_class}_$this->p_name"), E_USER_ERROR); + trigger_error($user->lang('MODULE_FILE_INCORRECT_CLASS', "$module_path/{$this->p_class}_$this->p_name.$phpEx", "{$this->p_class}_$this->p_name"), E_USER_ERROR); } if (!empty($mode))