Fix regexp

pull/6841/head
Aleksander Machniak 6 years ago
parent f8afd18713
commit 8b649420ff

@ -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);

Loading…
Cancel
Save