From 150f67e896097703f4173bbf14955b26d8042c92 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 28 Oct 2010 00:05:38 +1300 Subject: [PATCH] branch transfer limits --- admin/branch_transfer_limits.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl index 1b89efb8ce..64d2a70ff5 100755 --- a/admin/branch_transfer_limits.pl +++ b/admin/branch_transfer_limits.pl @@ -39,8 +39,16 @@ my ($template, $loggedinuser, $cookie) }); my $dbh = C4::Context->dbh; +my $branchcode; +if((!defined($input->param('branchcode'))) & mybranch() ne '') +{ + $branchcode = mybranch(); +} +else +{ + $branchcode = $input->param('branchcode'); +} -my $branchcode = $input->param('branchcode'); my $branchname = GetBranchName($branchcode); # Getting the branches for user selection -- 2.39.5