mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 16:07:38 -04:00
11 lines
428 B
PHP
11 lines
428 B
PHP
--- Mail/mimeDecode.php.orig 2016-08-29 03:04:25 UTC
|
|
+++ Mail/mimeDecode.php
|
|
@@ -834,7 +834,7 @@ class Mail_mimeDecode extends PEAR
|
|
|
|
// Replace encoded characters
|
|
|
|
- $cb = create_function('$matches', ' return chr(hexdec($matches[0]));');
|
|
+ $cb = function(array $matches) { return chr(hexdec($matches[0])); };
|
|
|
|
$input = preg_replace_callback( '/=([a-f0-9]{2})/i', $cb, $input);
|
|
|