From 879070c783ed9fd7adc772107e2b1b602601156d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 3 Sep 2009 15:40:21 +0200 Subject: [PATCH] Bugfix: selectall_HASHREF! --- SL/OE.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/OE.pm b/SL/OE.pm index ce8c9281c..df634afb2 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -976,8 +976,8 @@ sub retrieve_simple { my $oe_query = qq|SELECT * FROM oe WHERE id = ?|; my $oi_query = qq|SELECT * FROM orderitems WHERE trans_id = ?|; - my ($order) = selectall_array_query($form, $dbh, $oe_query, conv_i($params{id})); - $order->{orderitems} = selectall_array_query($form, $dbh, $oi_query, conv_i($params{id})); + my $order = selectfirst_hashref_query($form, $dbh, $oe_query, conv_i($params{id})); + $order->{orderitems} = selectall_hashref_query( $form, $dbh, $oi_query, conv_i($params{id})); $main::lxdebug->leave_sub(); -- 2.20.1