Skip to content

Commit

Permalink
[mms] Fix regression in adding an attachment in minimal view.
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 29, 2012
1 parent aa19a17 commit 9037dfa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions imp/docs/CHANGES
Expand Up @@ -2,6 +2,7 @@
v6.0.0-git
----------

[mms] Fix regression in adding an attachment in minimal view.


---------
Expand Down
6 changes: 3 additions & 3 deletions imp/lib/Minimal/Compose.php
Expand Up @@ -386,9 +386,9 @@ protected function _init()
$this->view->attach = true;
if (count($imp_compose)) {
$imp_ui_mbox = new IMP_Ui_Mailbox();
$this->view->attach_name = $atc_list[0]['part']->getName();
$this->view->attach_type = $atc_list[0]['part']->getType();
$this->view->attach_size = $imp_ui_mbox->getSize($atc_list[0]['part']->getBytes());
$this->view->attach_name = $imp_compose[0]['part']->getName();
$this->view->attach_type = $imp_compose[0]['part']->getType();
$this->view->attach_size = $imp_ui_mbox->getSize($imp_compose[0]['part']->getBytes());
}
}
} catch (Horde_Exception_HookNotSet $e) {}
Expand Down
4 changes: 2 additions & 2 deletions imp/package.xml
Expand Up @@ -34,7 +34,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [mms] Fix regression in adding an attachment in minimal view.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -2794,7 +2794,7 @@
<date>2012-10-29</date>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [mms] Fix regression in adding an attachment in minimal view.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 9037dfa

Please sign in to comment.