[Koha-bugs] [Bug 30196] Odd number of elements warning caused by dt_from_string

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 28 15:22:02 CEST 2022


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

--- Comment #10 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
We are trying to pass perlcritic, and it's a good idea to stick to it. We can
easily workaround it, either using 'str' instead of 'dt' or adding 'scalar' to
force the context.

I wouldn't bother fixing this bug because:
* There is bug 30718, and it would be way more interesting to work on it, and
it should fix/remove most of the occurrences.
* You shouldn't have 0000-00-00 dates anymore in your DB (how did it happen?).
This is a bug or a config issue on itself.

I stopped being afraid of Koha code, I sleep better now :D

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


More information about the Koha-bugs mailing list