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:
parent
7c08d7c81e
commit
18b89e9a67
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue