alecpl
2009-06-26 6b2ce28a1f182651fb69fe2c818026560f76f900
- fix for enabled_caching=true (#1485942)


1 files modified
3 ■■■■■ changed files
plugins/show_additional_headers/show_additional_headers.php 3 ●●●●● patch | view | raw | blame | history
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'));
    }
  }