diff --git a/members/memberentry.pl b/members/memberentry.pl index c8aabf89ca..95754d22f3 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -712,7 +712,7 @@ if (C4::Context->userenv && C4::Context->userenv->{'branch'}) { $userbranch = C4::Context->userenv->{'branch'}; } -if (defined ($data{'branchcode'}) and ( $op eq 'modify' || $op eq 'duplicate' || ( $op eq 'add' && $category->category_type eq 'C' ) )) { +if (defined ($data{'branchcode'}) and ( $op eq 'modify' || $op eq 'duplicate' || $op eq 'add' )) { $userbranch = $data{'branchcode'}; } $template->param( userbranch => $userbranch );