summaryrefslogtreecommitdiff
path: root/plugins/kolab_notes
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-26 10:48:46 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-26 10:48:46 (GMT)
commit89f65253bd736a71fbfdd7bde31581c8f6762068 (patch)
tree74e29aad896266103b292cb6eaafa6e2d1a814b2 /plugins/kolab_notes
parent44bf23bbc1d5fae1234f11209058169fea751662 (diff)
downloadroundcubemail-plugins-kolab-89f65253bd736a71fbfdd7bde31581c8f6762068.tar.gz
Also load notes in message print step
Diffstat (limited to 'plugins/kolab_notes')
-rw-r--r--plugins/kolab_notes/kolab_notes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_notes/kolab_notes.php b/plugins/kolab_notes/kolab_notes.php
index 28ad6c9..01025a3 100644
--- a/plugins/kolab_notes/kolab_notes.php
+++ b/plugins/kolab_notes/kolab_notes.php
@@ -83,7 +83,7 @@ class kolab_notes extends rcube_plugin
$this->add_hook('storage_init', array($this, 'storage_init'));
$this->add_hook('message_compose', array($this, 'mail_message_compose'));
- if ($args['action'] == 'show' || $args['action'] == 'preview') {
+ if (in_array($args['action'], array('show', 'preview', 'print'))) {
$this->add_hook('message_load', array($this, 'mail_message_load'));
$this->add_hook('template_object_messagebody', array($this, 'mail_messagebody_html'));
}