You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by si...@apache.org on 2004/09/25 03:55:03 UTC

svn commit: rev 47179 - spamassassin/branches/3.0/lib/Mail/SpamAssassin

Author: sidney
Date: Fri Sep 24 18:55:03 2004
New Revision: 47179

Modified:
   spamassassin/branches/3.0/lib/Mail/SpamAssassin/PerMsgStatus.pm
Log:
bug 3804: fix typo that caused X-Languages metadata for _LANGUAGES_ tag to be empty

Modified: spamassassin/branches/3.0/lib/Mail/SpamAssassin/PerMsgStatus.pm
==============================================================================
--- spamassassin/branches/3.0/lib/Mail/SpamAssassin/PerMsgStatus.pm	(original)
+++ spamassassin/branches/3.0/lib/Mail/SpamAssassin/PerMsgStatus.pm	Fri Sep 24 18:55:03 2004
@@ -1226,7 +1226,7 @@
 
   $self->{tag_data}->{RELAYSTRUSTED} = $self->{relays_trusted_str};
   $self->{tag_data}->{RELAYSUNTRUSTED} = $self->{relays_untrusted_str};
-  $self->{tag_data}->{LANGUAGES} = $self->{msg}->{metadata}->{"X-Languages"};
+  $self->{tag_data}->{LANGUAGES} = $self->{msg}->get_metadata("X-Languages");
 
   # allow plugins to add more metadata, read the stuff that's there, etc.
   $self->{main}->call_plugins ("parsed_metadata", { permsgstatus => $self });