From: Don Armstrong Date: Sat, 9 Aug 2008 18:33:27 +0000 (-0700) Subject: * fix archived for undef location X-Git-Tag: release/2.6.0~486^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=439926550d440587be2603644ae68c1c738a3c56;p=debbugs.git * fix archived for undef location --- diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 44eff9b..3b3961f 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -251,7 +251,7 @@ sub read_bug{ # Add log last modified time $data{log_modified} = (stat($log))[9]; $data{location} = $location; - $data{archived} = defined($location) and $location eq 'archive'; + $data{archived} = (defined($location) and ($location eq 'archive'))?1:0; $data{bug_num} = $param{bug}; return \%data;