[Koha-bugs] [Bug 28483] Warnings from Search.t must be removed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 23 10:01:45 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28483
--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 122312
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122312&action=edit
Bug 28483: 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>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list