Skip to content
Snippets Groups Projects
Commit b339207d authored by Patrick Kenny's avatar Patrick Kenny
Browse files

Issue #3449562 by ptmkenny: TypeError: htmlspecialchars(): when sending a message successfully

parent d9118b07
No related branches found
No related tags found
1 merge request!25do not show token in successful status message
Pipeline #181011 passed
......@@ -90,9 +90,7 @@ final class FirebasePhpSendTestMessageForm extends FormBase {
$form_state->getValue('message'),
$form_state->getValue('device_token'),
);
$this->messenger()->addStatus($this->t('The test message has been sent to device token %token', [
'%token' => $form['device_token'],
]));
$this->messenger()->addStatus($this->t('The test message has been sent.'));
}
// @phpstan-ignore-next-line Exception is shown to admin, so no rethrowing.
catch (\Exception $e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment