From 3d315ec64f651f966ae369076976ed596b1075e2 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 37e02ce450..a3f266bf32 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