From: Michael M Slusarz Date: Wed, 26 May 2010 03:37:09 +0000 (-0600) Subject: If reply type changes, be sure to catch that in the cahed object X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=375060a2c7c8a61edac98168c6545fdb5453c44c;p=horde.git If reply type changes, be sure to catch that in the cahed object --- 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(