[Koha-bugs] [Bug 8532] Old/iffy data causes error checking out
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 1 16:23:12 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8532
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11216|0 |1
is obsolete| |
--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 11261
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11261&action=edit
Bug 8532 - improve robustness when converting dates
If undef is passed to the date format conversion function, it dies. This
can happen when you have old data in the database. Better to handle it
in some fashion rather than die, so now it just returns undef too.
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
I replace "return undef" with just "return" to pass perlcritic
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list