]> git.koha-community.org Git - koha.git/commit
Bug 36019: Remove dead code in tags/review
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 7 Feb 2024 14:54:28 +0000 (15:54 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Mar 2024 09:55:20 +0000 (10:55 +0100)
commit05dad853b7279b64c9a7e7bca80578a12fbf042c
treec2fb9042ed270fc62eec433b6af2c5b41b3f5a2e
parent097a27e932ef76cbd5355f235a11edf6ac7f3a9a
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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
tags/review.pl