[Koha-bugs] [Bug 3812] New: Illegal Date 'iso' does not match 'iso' format (Acquisitions)
bugzilla-daemon at kohaorg.ec2.liblime.com
bugzilla-daemon at kohaorg.ec2.liblime.com
Thu Nov 26 14:19:10 CET 2009
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3812
Summary: Illegal Date 'iso' does not match 'iso' format
(Acquisitions)
Product: Koha
Version: rel_3_0
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P5
Component: Acquisitions
AssignedTo: rch at liblime.com
ReportedBy: m.de.rooy at rijksmuseum.nl
Estimated Hours: 0.0
Change sponsored?: ---
>From koha error log: [Mon Nov 23 10:36:57 2009] [error] [client 192.87.126.61]
[Mon Nov 23 10:36:57 2009] orderreceive.pl: Illegal Date 'iso' does not match
'iso' format: yyyy-mm-dd at
/usr/share/koha/intranet/cgi-bin/acqui/orderreceive.pl line 80.
This happens when datareceived parameter does not exist or is empty. In that
case the second parameter iso from the line below becomes the first parameter.
my $datereceived = C4::Dates->new($input->param('datereceived'),'iso') ||
C4::Dates->new();
Solution: force the first parameter to be present in the call:
my $datereceived = C4::Dates->new($input->param('datereceived')||'','iso') ||
C4::Dates->new();
--
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list