[Koha-patches] [PATCH] [SIGNED-OFF] Bug #6052 - BranchTransfer Limit :Adds a default value

Christophe Croullebois christophe.croullebois at biblibre.com
Fri Apr 8 10:10:16 CEST 2011


From: Alex Arnaud <alex.arnaud at biblibre.com>


Signed-off-by: Christophe Croullebois <christophe.croullebois at biblibre.com>
---
 admin/branch_transfer_limits.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl
index 1d85937..abba127 100755
--- a/admin/branch_transfer_limits.pl
+++ b/admin/branch_transfer_limits.pl
@@ -65,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';
 }
-- 
1.7.0.4



More information about the Koha-patches mailing list