[Koha-bugs] [Bug 15087] make dt_from_string return undef for '0000-00-00'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 30 09:29:18 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15087

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |14870

--- Comment #3 from Marc Véron <veron at veron.ch> ---
At other places we did

return ( eval { dt_from_string($rule->{hardduedate},
'iso'),$rule->{hardduedatecompare}); };

...to avoid such errors.

I propose to do it here as well and postpone the change to dt_from_string until
the C4::Dates removal is finished.

It is in C4/Circulation.pm
Line 1498


Referenced Bugs:

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14870
[Bug 14870] Delete C4/Dates.pm from System
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list