[Rt-commit] rt branch, 4.0/html-content-fts, created. rt-4.0.1rc1-8-ga566c31

Alex Vandiver alexmv at bestpractical.com
Fri May 27 13:03:06 EDT 2011


The branch, 4.0/html-content-fts has been created
        at  a566c3120dd6263dd936525999dbac3d257f2b65 (commit)

- Log -----------------------------------------------------------------
commit a566c3120dd6263dd936525999dbac3d257f2b65
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed May 25 09:07:47 2011 -0400

    Return the Attachment object, not its id

diff --git a/sbin/rt-fulltext-indexer.in b/sbin/rt-fulltext-indexer.in
index 98a41a9..37fb227 100644
--- a/sbin/rt-fulltext-indexer.in
+++ b/sbin/rt-fulltext-indexer.in
@@ -394,7 +394,7 @@ sub attachments_html {
 
 sub filter_html {
     my $attachment = shift;
-    if ( my $parent = $attachment->Parent ) {
+    if ( my $parent = $attachment->ParentObj ) {
 # skip html parts that are alternatives
         return 1 if $parent->id
             && $parent->ContentType eq 'mulitpart/alternative';

-----------------------------------------------------------------------


More information about the Rt-commit mailing list