From: Michael M Slusarz Date: Wed, 10 Feb 2010 07:58:16 +0000 (-0700) Subject: Fix undefined error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=682a25d091ba298cfba67f9b43666aae29189b97;p=horde.git Fix undefined error --- diff --git a/imp/lib/Ui/Message.php b/imp/lib/Ui/Message.php index 9c71596ab..007cc2840 100644 --- a/imp/lib/Ui/Message.php +++ b/imp/lib/Ui/Message.php @@ -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 '
' . implode(' ', $tmp_summary) . '
'; }