]> git.koha-community.org Git - koha.git/commit
Bug 24361: (bug 24217 follow-up) Fix several warnings in C4 modules
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 7 Jan 2020 11:26:01 +0000 (12:26 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 7 Jan 2020 13:59:51 +0000 (13:59 +0000)
commit094f0623c2c740aa2be5fb6364694b88442e03cf
tree08ac9248879fca4092c4c3fea099fa90987129e2
parent60e5f77770e45be9af2b1408a7a08a107e4fd835
Bug 24361: (bug 24217 follow-up) Fix several warnings in C4 modules

With bug 24217 pushed, lot of warnings appears during the tests are run.
Most of them are "Use of uninitialized value in "

Test plan:
Take a look at the output of run 1049
https://jenkins.koha-community.org/job/Koha_Master_D9/1049/consoleFull

Most of the warnings from this run will be removed by this patch

At least 2 are not fixed:
Use of uninitialized value in numeric eq (==) at /kohadevbox/koha/C4/Reserves.pm line 791.
t/db_dependent/Items_DelItemCheck.t => see 23463

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Budgets.pm
C4/Circulation.pm
C4/Items.pm
C4/Koha.pm
C4/Overdues.pm
C4/Record.pm
C4/Reserves.pm
C4/Serials.pm
Koha/Plugins/Base.pm