[Koha-bugs] [Bug 29826] Useless warning in t/db_dependent/Template/Plugin/Branches.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 28 11:15:38 CET 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This report refers to the test. So the suggestion thing might be a different
case. Or widen the scope by changing the title?

+    return q{} unless defined $branchcode;
This still has the effect of testing if there is a branch with an empty code.
Which makes no sense either?
So you could also return unless $branchcode.

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


More information about the Koha-bugs mailing list