From 6ee3ea51c0f240103c7d1b83ba90642bf9db957a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 26 Aug 2010 00:14:53 -0600 Subject: [PATCH] No need to have an excessively long SPAM header appear in notifications --- imp/lib/Spam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Spam.php b/imp/lib/Spam.php index e72416e12..59af656e5 100644 --- a/imp/lib/Spam.php +++ b/imp/lib/Spam.php @@ -165,7 +165,7 @@ class IMP_Spam /* Report what we've done. */ if ($report_count == 1) { $hdrs = $imp_contents->getHeaderOb(); - $subject = Horde_String::truncate($hdrs->getValue('subject')); + $subject = Horde_String::truncate($hdrs->getValue('subject'), 30); switch ($action) { case 'spam': -- 2.11.0