From 682a25d091ba298cfba67f9b43666aae29189b97 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 10 Feb 2010 00:58:16 -0700 Subject: [PATCH] Fix undefined error --- imp/lib/Ui/Message.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) . '
'; } -- 2.11.0