Lines 44-50
my ($template, $loggedinuser, $cookie)
Link Here
|
44 |
}); |
44 |
}); |
45 |
|
45 |
|
46 |
my $type=$input->param('type'); |
46 |
my $type=$input->param('type'); |
47 |
my $branch = $input->param('branch') || ( C4::Branch::onlymine() ? ( C4::Branch::mybranch() || '*' ) : '*' ); |
47 |
|
|
|
48 |
my $branch; |
49 |
if ( C4::Context->preference('DefaultToLoggedInLibraryCircRules') ) { |
50 |
$branch = $input->param('branch') || GetBranchesCount() == 1 ? undef : C4::Branch::mybranch(); |
51 |
} |
52 |
else { |
53 |
$branch = $input->param('branch') || ( C4::Branch::onlymine() ? ( C4::Branch::mybranch() || '*' ) : '*' ); |
54 |
} |
55 |
$branch = '*' if $branch eq 'NO_LIBRARY_SET'; |
56 |
|
48 |
my $op = $input->param('op') || q{}; |
57 |
my $op = $input->param('op') || q{}; |
49 |
|
58 |
|
50 |
if ($op eq 'delete') { |
59 |
if ($op eq 'delete') { |
51 |
- |
|
|