From 0ee93aa314a5ae29463202f343a5757abfff7121 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 15 Jan 2006 18:51:35 +0000 Subject: [PATCH] r731: Only show description for obsoletes if it exists --- attachment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attachment.php b/attachment.php index 472fd07..63c9073 100755 --- a/attachment.php +++ b/attachment.php @@ -166,7 +166,7 @@ if ($_REQUEST['do'] == 'add') while ($obsolete = $db->fetch_array($obsoletes_fetch)) { $show['obsoletes'] = true; - $obsoletes .= "
in['obsoletes']) ? ' checked="checked"' : '') . " /> $obsolete[filename] [$obsolete[description]]
\n"; + $obsoletes .= "
in['obsoletes']) ? ' checked="checked"' : '') . " /> $obsolete[filename]" . ($obsolete['description'] ? " [$obsolete[description]]" : '') . "
\n"; } eval('$template->flush("' . $template->fetch('newattach') . '");'); -- 2.43.5