X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=admin%2Fbranch_transfer_limits.pl;h=abba127476f4ab784c61cfdb067b781f072e12e6;hb=73992e2ff435e068f8766a3d06dc510ba66af4cc;hp=64d2a70ff553fc293071297c53ff8b8e6f737ca7;hpb=3f35705ddcc3eff0df658faf12320a6e8671b668;p=koha_gimpoz diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl index 64d2a70ff5..abba127476 100755 --- a/admin/branch_transfer_limits.pl +++ b/admin/branch_transfer_limits.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl # Copyright 2000-2002 Katipo Communications +# copyright 2010 BibLibre # # This file is part of Koha. # @@ -64,7 +65,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'; }