Fixes attachment issues during conversation message edit
authorMatthias Schmidt <gravatronics@live.com>
Fri, 3 May 2013 13:56:09 +0000 (15:56 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 3 May 2013 13:56:09 +0000 (15:56 +0200)
files/lib/form/ConversationMessageEditForm.class.php

index 4c48d1e0a8435a2968792ad4292194111065d874..c5e303c411aeb9a77bb54d51bea91153c0b9d392 100644 (file)
@@ -86,6 +86,9 @@ class ConversationMessageEditForm extends ConversationAddForm {
                if ($this->conversation->firstMessageID == $this->message->messageID) {
                        $this->isFirstMessage = true;
                }
+               
+               // set attachment object id
+               $this->attachmentObjectID = $this->message->messageID;
        }
        
        /**