Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2019-12-16 17:19:42 +0300
committerAleksander Machniak <alec@alec.pl>2019-12-16 17:19:42 +0300
commit52caed0d66532d167e3acf1d11237b3c1d7b451a (patch)
tree5199e0b4ddee33737f4d8be1355a7ba70faae79d /program
parent37cfa0a43b542add71b7d8ae9cfcae345448835c (diff)
Remove optional argument leftover
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/func.inc2
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) {