From 8b649420fffc6f852b1d8b953570a9f9fd37e183 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 11 May 2019 16:22:30 +0200 Subject: [PATCH] Fix regexp --- program/steps/mail/get.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc index 629b89179..288fb0bdd 100644 --- a/program/steps/mail/get.inc +++ b/program/steps/mail/get.inc @@ -311,7 +311,7 @@ exit; */ function rcmail_mimetype_compare($type1, $type2) { - $regexp = '|/(x-|x-ms-)|'; + $regexp = '~/(x-|x-ms-)~'; $type1 = preg_replace($regexp, '/', $type1); $type2 = preg_replace($regexp, '/', $type2);