From d95d062a4276504e1855d44aaddba2ff9bb974d6 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Tue, 11 Mar 2014 18:45:46 +0100 Subject: [PATCH] [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))