Merge pull request #5687 from rxu/ticket/16157

[ticket/16157] Fix FORM_INVALID error in the sending email form
This commit is contained in:
Marc Alexander 2019-09-21 14:33:20 +02:00
commit 0b2a0cc9b4
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

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))