From 375060a2c7c8a61edac98168c6545fdb5453c44c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 25 May 2010 21:37:09 -0600 Subject: [PATCH] If reply type changes, be sure to catch that in the cahed object --- imp/lib/Compose.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index 991022ccc..10c9e7f5d 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -1422,7 +1422,11 @@ class IMP_Compose $header = $all_headers; } - $this->_metadata['reply_type'] = $reply_type; + if (!isset($this->_metadata['reply_type']) || + ($reply_type != $this->_metadata['reply_type'])) { + $this->_metadata['reply_type'] = $reply_type; + $this->_modified = true; + } if (!$prefs->getValue('reply_quote')) { return array( -- 2.11.0