From: Michael M Slusarz Date: Thu, 26 Aug 2010 06:14:53 +0000 (-0600) Subject: No need to have an excessively long SPAM header appear in notifications X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6ee3ea51c0f240103c7d1b83ba90642bf9db957a;p=horde.git No need to have an excessively long SPAM header appear in notifications --- 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':