aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2008-06-10 23:52:47 +0000
committerfrancis <francis>2008-06-10 23:52:47 +0000
commit4eb80fd8bcad46246720ae8108a81722ccf0627f (patch)
tree1bfd65e1befb47379607fe5729fd7caa38ff596e
parent97db761f0d93f84f89fa4e6fa53f3c2b7806bd98 (diff)
Highlight words from attachments in email alerts.
-rw-r--r--app/views/track_mailer/event_digest.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/track_mailer/event_digest.rhtml b/app/views/track_mailer/event_digest.rhtml
index bcc7a9c17..83ce6d516 100644
--- a/app/views/track_mailer/event_digest.rhtml
+++ b/app/views/track_mailer/event_digest.rhtml
@@ -35,7 +35,7 @@
if not event.outgoing_message.nil?
extract = highlight_and_excerpt(event.outgoing_message.body_without_salutation, @highlight_words, 150, false)
elsif not event.incoming_message.nil?
- extract = highlight_and_excerpt(event.incoming_message.get_body_for_quoting, @highlight_words, 150, false)
+ extract = highlight_and_excerpt(event.incoming_message.get_text_for_indexing, @highlight_words, 150, false)
else
extract = highlight_and_excerpt(info_request.initial_request_text, @highlight_words, 150, false)
end