alecpl
2009-09-10 71047326faf2feaac3f4017e71dad8d2fa5b2e42
plugins/show_additional_headers/show_additional_headers.php
@@ -23,6 +23,9 @@
    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'));
    }
  }