[Koha-bugs] [Bug 14924] Remove C4::Dates from members/memberentry.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 1 10:32:11 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14924
--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 42964
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42964
[SIGNED-OFF]Bug 14924 - Remove C4::Dates from members/memberentry.pl
Review of attachment 42964:
--> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14924&attachment=42964)
-----------------------------------------------------------------
::: members/memberentry.pl
@@ +170,5 @@
> foreach (qw(dateenrolled dateexpiry dateofbirth)) {
> next unless exists $newdata{$_};
> my $userdate = $newdata{$_} or next;
> + if ( $userdate ) {
> + $newdata{$_} = output_pref({ dt => dt_from_string( $userdate ), dateformat => 'iso', dateonly => 1 });
You have to care of bad formatted dates, otherwise the user will get a software
error.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list