From a1029148df8cb3c5896f808a55ce41fca92e937b Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Fri, 8 Apr 2011 10:10:16 +0200 Subject: [PATCH] Bug #6052 - BranchTransfer Limit :Adds a default value Signed-off-by: Christophe Croullebois Signed-off-by: Chris Cormack (cherry picked from commit 18b89e9a67470eabb6878dd2e00edbe0e6fa396b) Signed-off-by: Chris Nighswonger --- admin/branch_transfer_limits.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl index 1b89efb8ce..ef5ae53270 100755 --- a/admin/branch_transfer_limits.pl +++ b/admin/branch_transfer_limits.pl @@ -56,7 +56,7 @@ for my $thisbranch (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{b # Set the template language for the correct limit type my $limit_phrase = 'Collection Code'; -my $limitType = C4::Context->preference("BranchTransferLimitsType"); +my $limitType = C4::Context->preference("BranchTransferLimitsType") || "ccode"; if ( $limitType eq 'itemtype' ) { $limit_phrase = 'Item Type'; } -- 2.39.5