diff options
author | Aleksander Machniak <alec@alec.pl> | 2019-12-16 17:19:42 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2019-12-16 17:19:42 +0300 |
commit | 52caed0d66532d167e3acf1d11237b3c1d7b451a (patch) | |
tree | 5199e0b4ddee33737f4d8be1355a7ba70faae79d /program | |
parent | 37cfa0a43b542add71b7d8ae9cfcae345448835c (diff) |
Remove optional argument leftover
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 = '<meta charset="'.RCUBE_CHARSET.'" />'; // remove old meta tag and add the new one, making sure that it is placed in the head (#3510, #7116) - $html = preg_replace('/<meta[^>]+charset=[a-z0-9_"-]+[^>]*>/Ui', '', $html, -1); + $html = preg_replace('/<meta[^>]+charset=[a-z0-9_"-]+[^>]*>/Ui', '', $html); $html = preg_replace('/(<head[^>]*>)/Ui', '\\1'.$meta, $html, -1, $rcount); if (!$rcount) { |