|
Lines 661-670
my $onlymine = C4::Context->preference('IndependantBranches') &&
Link Here
|
| 661 |
C4::Context->userenv && |
661 |
C4::Context->userenv && |
| 662 |
C4::Context->userenv->{flags}!=1 && |
662 |
C4::Context->userenv->{flags}!=1 && |
| 663 |
C4::Context->userenv->{branch}; |
663 |
C4::Context->userenv->{branch}; |
| 664 |
my $branch = C4::Context->userenv->{branch}; |
664 |
my $branch = $input->param{'branch'} || C4::Context->userenv->{branch}; |
| 665 |
if ($frameworkcode eq 'FA'){ |
|
|
| 666 |
$branch = $input->param('branch'); |
| 667 |
} |
| 668 |
my $branches = GetBranchesLoop($branch,$onlymine); # build once ahead of time, instead of multiple times later. |
665 |
my $branches = GetBranchesLoop($branch,$onlymine); # build once ahead of time, instead of multiple times later. |
| 669 |
|
666 |
|
| 670 |
# We generate form, from actuel record |
667 |
# We generate form, from actuel record |
| 671 |
- |
|
|