Skip to content

Commit

Permalink
Only test for checkbox to save attachments if it exists.
Browse files Browse the repository at this point in the history
Bug: 14571
  • Loading branch information
yunosh committed Feb 14, 2017
1 parent 5fbc691 commit 3c5572b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imp/lib/Ajax/Application/Handler/Common.php
Expand Up @@ -557,7 +557,9 @@ public function sendMessage()
'signature' => $this->vars->signature,
'strip_attachments' =>
(isset($this->vars->save_attachments_select) &&
!$this->vars->save_attachments_select),
!$this->vars->save_attachments_select) ||
(!isset($this->vars->save_attachments_select) &&
strcasecmp($prefs->getValue('save_attachments'), 'always') !== 0),
'vcard_attach' => ($this->vars->vcard_attach
? $identity->getValue('fullname')
: null)
Expand Down

0 comments on commit 3c5572b

Please sign in to comment.