From d1817ab92d1dcc5d96180e65563db64469090fe4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 30 May 2013 12:15:43 +0200 Subject: [PATCH] Bug 8845: FIX dateonly is the 4th parameter, not 3rd! Signed-off-by: Galen Charlton --- members/member.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/member.pl b/members/member.pl index 39ae379a02..47f7cb7544 100755 --- a/members/member.pl +++ b/members/member.pl @@ -108,7 +108,7 @@ if ($member || keys %$patron) { my @searchfields = $searchfields ? split( ',', $searchfields ) : ( "firstname", "surname", "othernames", "cardnumber", "userid", "email" ); if ( $searchfields eq "dateofbirth" ) { - $member = output_pref(dt_from_string($member), 'iso', 1); + $member = output_pref(dt_from_string($member), 'iso', undef, 1); } my $search_scope = ( $quicksearch ? "field_start_with" : "start_with" ); -- 2.39.5