https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33849 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emmi.takkinen@koha-suomi.fi --- Comment #1 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- For some reason $op isn't set as "duplicate" (as it should if I understand this correctly). So this condition isn't filled if (defined ($data{'branchcode'}) and ( $op eq 'modify' || $op eq 'duplicate' || ( $op eq 'add' && $category->category_type eq 'C' ) )) { $userbranch = $data{'branchcode'}; } and logged in users branchcode is used instead of selected branchcode. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.