[Koha-bugs] [Bug 28572] Replace C4::Debug with Koha::Logger->debug
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 22 21:45:41 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28572
--- Comment #29 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 122304
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122304&action=edit
Bug 28572: Avoid useless warnings
There are too many warnings about uninitialized variables in Search.pm.
This patch deals with that, the same way it is dealt accross the file:
by setting an empty string when things are not defined.
To test:
1. Run:
$ kshell
k$ prove t/db_dependent/Search.t
=> FAIL: Wow, too many warnings. Some related to this bug, some not.
2. Apply this patch
3. Repeat 1
=> SUCCESS: No more warnings!
4. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list