[Koha-patches] [PATCH 1/2] Fix a warning in log

Frédéric Demians f.demians at tamil.fr
Sun Apr 18 11:53:33 CEST 2010


Using a hash as a reference is deprecated
---
 acqui/basketgroup.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl
index 84d4e8e..94c5814 100755
--- a/acqui/basketgroup.pl
+++ b/acqui/basketgroup.pl
@@ -237,7 +237,7 @@ sub printbasketgrouppdf{
                 }
             }
         }
-        %orders->{$basket->{basketno}}=\@ba_orders;
+        $orders{$basket->{basketno}}=\@ba_orders;
     }
     print $input->header( -type => 'application/pdf', -attachment => $basketgroup->{name}.'.pdf' );
     my $pdf = printpdf($basketgroup, $bookseller, $baskets, \%orders, $bookseller->{gstrate} || C4::Context->preference("gist")) || die "pdf generation failed";
-- 
1.6.4.3




More information about the Koha-patches mailing list