diff --git a/acp/wpn_acp_module.php b/acp/wpn_acp_module.php index ad44fa5..ebdadc1 100644 --- a/acp/wpn_acp_module.php +++ b/acp/wpn_acp_module.php @@ -79,8 +79,7 @@ public function main($id, $mode) { if (!check_form_key($form_key)) { - $language = $phpbb_container->get('language'); - trigger_error($language->lang('FORM_INVALID'), E_USER_WARNING); + trigger_error($this->lang->lang('FORM_INVALID'), E_USER_WARNING); } $this->save_settings();