]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Bugs.pm
me.archived should be an AND not an OR
[debbugs.git] / Debbugs / Bugs.pm
index 8162bd301b846d9f7cc5eb2ae7f26307bfecc7e7..6e579818288262e63445fce3c057e2a84facf49a 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();
 }