diff --git a/view_bug_advanced_page.php3 b/view_bug_advanced_page.php3
index da840f3cfc..d72c19aa2f 100644
--- a/view_bug_advanced_page.php3
+++ b/view_bug_advanced_page.php3
@@ -304,7 +304,13 @@
$v2_diskfile = str_replace( $DOCUMENT_ROOT, "", $v2_diskfile );
$v2_filesize = round( $v2_filesize / 1024 );
- PRINT "$v2_filename ($v2_filesize KB)";
+ switch ( $g_file_upload_method ) {
+ case DISK: PRINT "$v2_filename ($v2_filesize KB)";
+ break;
+ case DATABASE:
+ PRINT "$v2_filename ($v2_filesize KB)";
+ break;
+ }
if ( $i != ($num_files - 1) ) {
PRINT "
";
}