diff --git a/members/memberentry.pl b/members/memberentry.pl index 7e96130b7d..83ca59df17 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -671,7 +671,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 );