diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-26 12:49:07 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-26 12:49:07 +0000 |
| commit | bca3a69f4c82a6104a060dfb0c95610f3ea0ae75 (patch) | |
| tree | ba344abf11af63a6d61e1652a6c1aef856f1cd13 /roundcubemail | |
| parent | b075b7a0ac50d8d7ef58f7b65ecf6644891c7093 (diff) | |
- fix for enabled_caching=true (#1485942)
git-svn-id: https://svn.roundcube.net/trunk@2681 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -rw-r--r-- | roundcubemail/plugins/show_additional_headers/show_additional_headers.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/plugins/show_additional_headers/show_additional_headers.php b/roundcubemail/plugins/show_additional_headers/show_additional_headers.php index c31c9df6b..7e7c50354 100644 --- a/roundcubemail/plugins/show_additional_headers/show_additional_headers.php +++ b/roundcubemail/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')); } } |
