]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/common.pl
[project @ 2004-03-28 06:02:45 by doogie]
[debbugs.git] / cgi / common.pl
index 082eb2d978161ddc417f3cf6761f0652535be4d5..18b60cd492411a2f9102f5647716eedf51d05175 100644 (file)
@@ -837,8 +837,9 @@ sub getsrcpkgs {
 sub buglog {
     my $bugnum = shift;
     my $location = getbuglocation($bugnum, 'log');
-    return undef unless defined $location;
-    return getbugcomponent($bugnum, 'log', $location);
+    return getbugcomponent($bugnum, 'log', $location) if ($location);
+    $location = getbuglocation($bugnum, 'log.gz');
+    return getbugcomponent($bugnum, 'log.gz', $location);
 }
 
 my %_versionobj;