diff options
author | alecpl <alec@alec.pl> | 2009-06-26 12:49:07 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-06-26 12:49:07 +0000 |
commit | 6b2ce28a1f182651fb69fe2c818026560f76f900 (patch) | |
tree | 3a563e8ceaca203a6e1352d78fb10cc84d11c7ec /plugins/show_additional_headers/show_additional_headers.php | |
parent | 41caad8b48b0b6038294d90e4fdea0ad779fe9ad (diff) |
- fix for enabled_caching=true (#1485942)
Diffstat (limited to 'plugins/show_additional_headers/show_additional_headers.php')
-rw-r--r-- | plugins/show_additional_headers/show_additional_headers.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/show_additional_headers/show_additional_headers.php b/plugins/show_additional_headers/show_additional_headers.php index c31c9df6b..7e7c50354 100644 --- a/plugins/show_additional_headers/show_additional_headers.php +++ b/plugins/show_additional_headers/show_additional_headers.php @@ -23,6 +23,9 @@ class show_additional_headers extends rcube_plugin if ($rcmail->action == 'show' || $rcmail->action == 'preview') { $this->add_hook('imap_init', array($this, 'imap_init')); $this->add_hook('message_headers_output', array($this, 'message_headers')); + } else if ($rcmail->action == '') { + // with enabled_caching we're fetching additional headers before show/preview + $this->add_hook('imap_init', array($this, 'imap_init')); } } |