[Koha-bugs] [Bug 2870] Adding a guarantor using 'Add Child' tab is buggy.
bugzilla-daemon at pippin.metavore.com
bugzilla-daemon at pippin.metavore.com
Wed Jan 28 07:51:56 CET 2009
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2870
------- Comment #6 from mason.loves.sushi at gmail.com 2009-01-27 22:51 -------
just my 2 cents here...
this dies with a fatal, on the latest 3.0.x branch
but.. grabbing the latest version of Dates.pm from HEAD seems to fix this ;)
Joe/Galen: are the recent fixes in Dates.pm safe to push to 3.0.x?
the problem...
in memberentry.pl the 'C4::Dates->today('iso')' call was returning undef, not a
date
if ($op eq add'){
my $arg2 = $newdata{'dateenrolled'} || C4::Dates->today('iso');
$data{'dateexpiry'} = GetExpiryDate($newdata{'categorycode'},$arg2);
$template->param( updtype => 'I', step_1=>1, step_2=>1, step_3=>1, step_4=>1);
}
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list