From d9c933791683592f851dc2ba5fa4ebfcab24ba1a Mon Sep 17 00:00:00 2001 From: tokul Date: Sat, 26 Nov 2005 19:45:10 +0000 Subject: [PATCH] http://bugs.php.net/bug.php?id=31341 PHP fixed escaping of curly brackets in 5.1. You can't escape { anymore. (#1366982) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10408 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index 54e3e614..ce8720f4 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -1079,7 +1079,7 @@ function sqimap_status_messages ($imap_stream, $mailbox, * @param $length */ function sqimap_append ($imap_stream, $sent_folder, $length) { - fputs ($imap_stream, sqimap_session_id() . ' APPEND ' . sqimap_encode_mailbox_name($sent_folder) . " (\\Seen) \{$length}\r\n"); + fputs ($imap_stream, sqimap_session_id() . ' APPEND ' . sqimap_encode_mailbox_name($sent_folder) . " (\\Seen) {".$length."}\r\n"); $tmp = fgets ($imap_stream, 1024); sqimap_append_checkresponse($tmp, $sent_folder); } -- 2.25.1