- fix for enabled_caching=true (#1485942)

release-0.6
alecpl 15 years ago
parent 41caad8b48
commit 6b2ce28a1f

@ -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'));
}
}

Loading…
Cancel
Save