From: Don Armstrong Date: Sat, 9 Aug 2008 18:30:30 +0000 (-0700) Subject: * allow the location to be undef; assume that such a bug is unarchived X-Git-Tag: release/2.6.0~486^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7344ad36c4219bf6732b5a970640f7c6a52cc213;hp=14a92e3dd4adbbac9c41d71a20d8961bb336c8c7;p=debbugs.git * allow the location to be undef; assume that such a bug is unarchived --- diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 1a5e7ae..44eff9b 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} = $location eq 'archive'; + $data{archived} = defined($location) and $location eq 'archive'; $data{bug_num} = $param{bug}; return \%data;