]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix dereferencing of $param{status}
authorDon Armstrong <don@donarmstrong.com>
Tue, 3 Apr 2018 20:12:04 +0000 (13:12 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 3 Apr 2018 20:12:04 +0000 (13:12 -0700)
Debbugs/Status.pm

index 666c31bbac02204035a17259f0444099ac158256..d936720b7f1cb7d90124ca90de4f595dbcd47a02 100644 (file)
@@ -1365,7 +1365,7 @@ sub get_bug_statuses {
             elsif (defined $param{status} and
                    $param{status}{bug_num} == $bug
                   ) {
-                $statuses{$bug} = {$param{status}};
+                $statuses{$bug} = {%{$param{status}}};
             } else {
                 my $location = getbuglocation($bug, 'summary');
                 next if not defined $location or not length $location;