]> git.donarmstrong.com Git - debbugs.git/commitdiff
properly use array ref
authorDon Armstrong <don@donarmstrong.com>
Sun, 28 Feb 2016 23:30:35 +0000 (15:30 -0800)
committerDon Armstrong <don@donarmstrong.com>
Wed, 10 Aug 2016 20:45:41 +0000 (13:45 -0700)
Debbugs/Bugs.pm

index 18069847c17320fe09f1e6d0cc2a3b1b77efc7d7..8162bd301b846d9f7cc5eb2ae7f26307bfecc7e7 100644 (file)
@@ -582,7 +582,7 @@ sub get_bugs_by_db{
      }
      # handle archive
      if (defined $param{archive} and $param{archive} ne 'both') {
-         $rs = $rs->search('me.archived' => $param{archive})
+         $rs = $rs->search({'me.archived' => $param{archive}})
      }
      return $rs->get_column('id')->all();
 }