Bug 17295 - Missed variable removal in subscription-add.pl from Bug 15758
authorNick Clemens <nick@bywatersolutions.com>
Tue, 13 Sep 2016 14:08:23 +0000 (14:08 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 13 Sep 2016 17:13:53 +0000 (17:13 +0000)
To test:
Load subscription-add.pl
Get an error
Apply patch
Reload
Koha is less sad (page loads okay)
Verify that normal functions work

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

serials/subscription-add.pl

index 1aa7964..f66b650 100755 (executable)
@@ -149,7 +149,6 @@ my @previoustypearg =
     map { { code => $_, value => $typeloop->{$_}{'description'}, selected => ( ( $subs->{previousitemtype} and $_ eq $subs->{previousitemtype} ) ? "selected=\"selected\"" : "" ), } } sort keys %{$typeloop};
 
 $template->param(
-    branchloop               => $branchloop,
     typeloop                 => \@typearg,
     previoustypeloop         => \@previoustypearg,
     locations_loop=>$locations_loop,