From: Don Armstrong Date: Sun, 28 Feb 2016 23:30:35 +0000 (-0800) Subject: properly use array ref X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1cb6ebb97154a7510b2a4b07c810193815cffb7f;p=debbugs.git properly use array ref --- diff --git a/Debbugs/Bugs.pm b/Debbugs/Bugs.pm index 18069847..8162bd30 100644 --- a/Debbugs/Bugs.pm +++ b/Debbugs/Bugs.pm @@ -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(); }