From 59a29c4bd700eaec29c4e02b0e95b5ca93cb9963 Mon Sep 17 00:00:00 2001 From: fidian Date: Tue, 1 May 2001 21:18:28 +0000 Subject: [PATCH] * Apparently the PHP ereg function doesn't think that \s is space, \t is tab, \w is whitespace. Just changed \s ('\\s' to get past one level of unescaping) into a space. All is better. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1330 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index 0fc6361b..674c7af3 100644 --- a/src/compose.php +++ b/src/compose.php @@ -77,7 +77,7 @@ for ($i=0; isset($body_ary[$i]); $i++) { if (! $forward_id) { - if (ereg('^[\\s>]+', $body_ary[$i])) + if (ereg('^[ >]+', $body_ary[$i])) { $body_ary[$i] = '>' . $body_ary[$i]; } -- 2.25.1