From 52caed0d66532d167e3acf1d11237b3c1d7b451a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 16 Dec 2019 15:19:42 +0100 Subject: Remove optional argument leftover --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 094e877dc..ed75b2d8a 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -840,7 +840,7 @@ function rcmail_wash_html($html, $p, $cid_replaces = array()) $meta = ''; // remove old meta tag and add the new one, making sure that it is placed in the head (#3510, #7116) - $html = preg_replace('/]+charset=[a-z0-9_"-]+[^>]*>/Ui', '', $html, -1); + $html = preg_replace('/]+charset=[a-z0-9_"-]+[^>]*>/Ui', '', $html); $html = preg_replace('/(]*>)/Ui', '\\1'.$meta, $html, -1, $rcount); if (!$rcount) { -- cgit v1.2.3