https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22602 --- Comment #9 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Bouzid Fergani from comment #8)
Created attachment 92821 [details] [review] Bug 23272: (RM followup) Fix failing tests
This bug introduced a regression whereby if any authorized value has no branch limitations then the authorized value administration page would fail to display at all.
A simple ternary corrects the issue, but I'm now wondering about the logic of returning 'undef' from 'get_branch_limits'.. perhaps an empty (or full) resultset might be a better option to prevent us from requireing ternaries before calling chained methods on such objects.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Bouzid: buy a new keyboard ;) -- You are receiving this mail because: You are watching all bug changes.