Lines 710-716
if (C4::Context->userenv && C4::Context->userenv->{'branch'}) {
Link Here
|
710 |
$userbranch = C4::Context->userenv->{'branch'}; |
710 |
$userbranch = C4::Context->userenv->{'branch'}; |
711 |
} |
711 |
} |
712 |
|
712 |
|
713 |
if (defined ($data{'branchcode'}) and ( $op eq 'edit_form' || $op eq 'duplicate' || ( $op eq 'add_form' && $category->category_type eq 'C' ) )) { |
713 |
if (defined ($data{'branchcode'}) and ( $op eq 'edit_form' || $op eq 'duplicate' || $op eq 'add_form' )) { |
714 |
$userbranch = $data{'branchcode'}; |
714 |
$userbranch = $data{'branchcode'}; |
715 |
} |
715 |
} |
716 |
$template->param( userbranch => $userbranch ); |
716 |
$template->param( userbranch => $userbranch ); |
717 |
- |
|
|