From ad15d68754bb9d2c5b594da2445f0b9d88a4f0e1 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Sun, 10 Feb 2002 16:48:59 +0000 Subject: [PATCH] ereg => preg git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2408 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/read_body.php b/src/read_body.php index b98e98a3..a8eb3056 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -150,9 +150,12 @@ function ServerMDNSupport( $read ) { $num = 0; $ret = FALSE; while ( !$ret && $num < count($read) ) { + $ret = preg_match( '/.*PERMANENTFLAGS.*(MDNSent|\\\*).*/i', $read[$num] ); + /* if ( ereg('PERMANENTFLAGS', $read[$num] ) ) { $ret = ( ereg('mdnsent',strtolower($read[$num]) ) || ereg("\\\*", $read[$num] ) ); } + */ $num++; } return ( $ret ); -- 2.25.1