Bug 21467: (QA follow-up) Fix filter and variable declaration in .t
authorKoha instance kohadev-koha <kohadev-koha@kohadevbox>
Sun, 28 Oct 2018 15:17:25 +0000 (15:17 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 13 Nov 2018 19:31:11 +0000 (19:31 +0000)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
t/db_dependent/Acquisition.t

index e79648c..6737177 100644 (file)
@@ -76,7 +76,7 @@
                         <td>
                         [% IF order.invoice %]
                             [% IF CAN_user_acquisition %]
-                                <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | html %]" title="Invoice detail page">
+                                <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]" title="Invoice detail page">
                                    [% order.invoice.invoicenumber | html %]</a>
                             [% ELSE %]
                                 [% order.invoice.invoicenumber | html %]
index 7fbc71a..807a3ec 100755 (executable)
@@ -735,7 +735,7 @@ subtest 'ModReceiveOrder and subscription' => sub {
     # We do not want the note from the original note to be modified
     # Keeping it will permit to display it for future receptions
     $order_info->{order_internalnote} = $second_note;
-    my ( undef, my $received_ordernumber ) = ModReceiveOrder(
+    my ( undef, $received_ordernumber ) = ModReceiveOrder(
         {
             biblionumber     => $order->biblionumber,
             order            => $order_info,