projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a130cbb
)
Fix undefined variable.
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 14 Nov 2008 07:35:41 +0000
(
00:35
-0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 14 Nov 2008 07:35:41 +0000
(
00:35
-0700)
imp/lib/UI/Message.php
patch
|
blob
|
history
diff --git
a/imp/lib/UI/Message.php
b/imp/lib/UI/Message.php
index
9f89729
..
130ab83
100644
(file)
--- a/
imp/lib/UI/Message.php
+++ b/
imp/lib/UI/Message.php
@@
-380,11
+380,7
@@
class IMP_UI_Message
// TODO - $data['type']
$class = 'mimeStatusMessage';
- if (isset($data['id'])) {
- $id = 'id="' . $data['id'] . '" ';
- }
-
- $out = array('<table ' . $id . 'class="' . $class . '">');
+ $out = array('<table ' . (isset($data['id']) ? ('id="' . $data['id'] . '" ') : '') . 'class="' . $class . '">');
/* If no image, simply print out the message. */
if (empty($data['icon'])) {