[Koha-bugs] [Bug 36019] Dead code in tags/review

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 7 15:56:14 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36019

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 161811
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161811&action=edit
Bug 36019: Remove dead code in tags/review

Since bug 20489 it is no longer possible to login with the DB user.
At the time, get_template_and_user returned borrowernumber=0 in this case.

In tags/review.pl we have:
  $borrowernumber == 0 and push @errors, {op_zero=>1};

This condition is never met, and op_zero related code can be removed in the
template.

Test plan:
Confirm the above

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list