From a00c3f21be2651d167a0d87b694648b9b5fbaf6e Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Tue, 19 Feb 2019 13:09:21 +0100 Subject: [PATCH] PriceRule Manager - selectall_ids -> selectcol_array_query --- SL/DB/Manager/PriceRule.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SL/DB/Manager/PriceRule.pm b/SL/DB/Manager/PriceRule.pm index d5b5489d6..974011a55 100644 --- a/SL/DB/Manager/PriceRule.pm +++ b/SL/DB/Manager/PriceRule.pm @@ -73,8 +73,7 @@ sub get_all_matching { my ($self, %params) = @_; my ($query, @values) = $self->get_matching_filter(%params); - my @ids = selectall_ids($::form, $::form->get_standard_dbh, $query, 0, @values); - + my @ids = selectcol_array_query($::form, SL::DB->client->dbh, $query, @values); return [] unless @ids; $self->get_all(query => [ id => \@ids ]); -- 2.20.1