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

--- Comment #3 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to