https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40861
--- Comment #3 from Marcel de Rooy <[email protected]> --- (In reply to Jonathan Druart from comment #1) > output_pref can generate that: > Koha/DateUtils.pm:284 return if !defined $dt; # NULL date This precedes: if ($str) { local $@; $dt = eval { dt_from_string($str) }; Koha::Exceptions::WrongParameter->throw("Invalid date '$str' passed to output_pref") if $@; } We passed a str. Date comes from the db. So perhaps NULL or valid date. Should trigger an exception when wrong? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
