[ticket/16157] Fix FORM_INVALID error in the sending email form

PHPBB3-16157
This commit is contained in:
rxu 2019-09-13 00:25:18 +07:00
parent 4db585a4cb
commit 177cc22683
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -136,7 +136,7 @@ abstract class form
{ {
if (!check_form_key('memberlist_email')) if (!check_form_key('memberlist_email'))
{ {
$this->errors[] = 'FORM_INVALID'; $this->errors[] = $this->user->lang('FORM_INVALID');
} }
if (!count($this->errors)) if (!count($this->errors))