[ticket/10549] using correct variable in includes/functions_module.php too

PHPBB3-10549
This commit is contained in:
Crizzo 2014-03-11 18:45:46 +01:00
parent 239f72ddda
commit d95d062a42

View file

@ -450,7 +450,7 @@ class p_master
if (!class_exists("{$this->p_class}_$this->p_name")) 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)) if (!empty($mode))