MFB: Show all addresses in print view.
authorJan Schneider <jan@horde.org>
Sun, 22 Mar 2009 15:12:08 +0000 (16:12 +0100)
committerJan Schneider <jan@horde.org>
Sun, 22 Mar 2009 15:12:08 +0000 (16:12 +0100)
imp/lib/UI/Message.php

index b3b43b1..c82ec74 100644 (file)
@@ -366,7 +366,7 @@ class IMP_UI_Message
             /* Build the address line. */
             $addr_count = count($addr_array);
             $ret = '<span class="nowrap">' . implode(',</span> <span class="nowrap">', $addr_array) . '</span>';
-            if ($addr_count > 15) {
+            if ($link && $addr_count > 15) {
                 Horde::addScriptFile('prototype.js', 'horde', true);
 
                 $ret = '<span>' .