https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38266
Bug ID: 38266
Summary: Bug 21083 follow-up Incorrect attribute disabled in
borrower batch modification
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Bug 21083 moved from a loop of checking disabled attributes to a grep.
When looping we did ++$i for each iteration
For the grep we need to check the current i before incrementing, but we are
doing the increment first here:
$attributes->{$code}->{disabled} = grep { $_ eq sprintf("attr%s_value", ++$i) }
@disabled;
Just need to move the pluses to the right
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/