From 1cb01b5f92afc254c9843a5f6a34f32da4e3cdcb Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 10 Sep 2008 17:10:47 +0000 Subject: Fix typo in hex code --- it_mail.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_mail.class') diff --git a/it_mail.class b/it_mail.class index f5a4f6f..bc3a8c4 100644 --- a/it_mail.class +++ b/it_mail.class @@ -316,7 +316,7 @@ function send() */ function header_escape($string) { - return preg_match('/[\x00-\x1f\x80-\xff]/', $string) ? ("=?iso-8859-1?Q?" . preg_replace('/[\0x00-\x1f\x80-\xff]/e', "sprintf('=%02X', ord('\\0'))", $string) . "?=") : $string; + return preg_match('/[\x00-\x1f\x80-\xff]/', $string) ? ("=?iso-8859-1?Q?" . preg_replace('/[\x00-\x1f\x80-\xff]/e', "sprintf('=%02X', ord('\\0'))", $string) . "?=") : $string; } /** -- cgit v1.2.3