Bug #6052 - BranchTransfer Limit :Adds a default value

Signed-off-by: Christophe Croullebois <christophe.croullebois@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Alex Arnaud 2011-04-08 10:10:16 +02:00 committed by Chris Cormack
parent 7c08d7c81e
commit 18b89e9a67

View file

@ -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';
}