From 428f0ec1512b908dc8f7aeaea47a099ed0b7f56c Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 2 Dec 2020 21:56:55 +0100 Subject: [PATCH] Fix vsprint parameter %2\$; is not valid. On php7 this is just ignored but on php8 it gives an error. %2\$s; works. Signed-off-by: Roeland Jago Douma --- lib/private/Mail/EMailTemplate.php | 2 +- tests/data/emails/new-account-email-single-button.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index eea9f995a6..3a985b257c 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -293,7 +293,7 @@ EOF; - diff --git a/tests/data/emails/new-account-email-single-button.html b/tests/data/emails/new-account-email-single-button.html index ac6fa2ecdd..35ad9b14a1 100644 --- a/tests/data/emails/new-account-email-single-button.html +++ b/tests/data/emails/new-account-email-single-button.html @@ -112,7 +112,7 @@
+ %7\$s
-
+ Set your password