[Svn] r2681 - trunk/roundcubemail/plugins/show_additional_headers
trac at roundcube.net
trac at roundcube.net
Fri Jun 26 14:49:07 CEST 2009
Author: alec
Date: 2009-06-26 07:49:07 -0500 (Fri, 26 Jun 2009)
New Revision: 2681
Modified:
trunk/roundcubemail/plugins/show_additional_headers/show_additional_headers.php
Log:
- fix for enabled_caching=true (#1485942)
Modified: trunk/roundcubemail/plugins/show_additional_headers/show_additional_headers.php
===================================================================
--- trunk/roundcubemail/plugins/show_additional_headers/show_additional_headers.php 2009-06-26 12:40:58 UTC (rev 2680)
+++ trunk/roundcubemail/plugins/show_additional_headers/show_additional_headers.php 2009-06-26 12:49:07 UTC (rev 2681)
@@ -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'));
}
}
_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn
More information about the Svn
mailing list