]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix inversion of date/versions in Debbugs::Status leading to negative times argument
authorDon Armstrong <don@donarmstrong.com>
Tue, 29 Mar 2016 00:21:04 +0000 (17:21 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 29 Mar 2016 00:21:04 +0000 (17:21 -0700)
Debbugs/Status.pm

index 73506611a26d585da976a31576b1b7a9008cda8c..26fbcc23b9ee136de484c0994d6f5fdc57b65eae 100644 (file)
@@ -270,7 +270,7 @@ sub read_bug{
         # create the found/fixed hashes which indicate when a
         # particular version was marked found or marked fixed.
         @{$data{$field}}{@{$data{"${field}_versions"}}} =
-             (('') x (@{$data{"${field}_date"}} - @{$data{"${field}_versions"}}),
+             (('') x (@{$data{"${field}_versions"}} - @{$data{"${field}_date"}}),
               @{$data{"${field}_date"}});
     }