Fix undefined error
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 10 Feb 2010 07:58:16 +0000 (00:58 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 10 Feb 2010 07:58:16 +0000 (00:58 -0700)
imp/lib/Ui/Message.php

index 9c71596..007cc28 100644 (file)
@@ -410,7 +410,9 @@ class IMP_Ui_Message
     {
         $tmp_summary = array();
         foreach ($display as $val) {
-            $tmp_summary[] = $summary[$val];
+            if (isset($summary[$val])) {
+                $tmp_summary[] = $summary[$val];
+            }
         }
         return '<div class="mimePartInfo' . ($atc ? ' mimePartInfoAtc' : '') . '"><div>' . implode(' ', $tmp_summary) . '</div></div>';
     }