Lines 48-54
my $has_permission = $input->param('has_permission');
Link Here
|
48 |
my $selection_type = $input->param('selection_type'); |
48 |
my $selection_type = $input->param('selection_type'); |
49 |
|
49 |
|
50 |
if ( $searchfieldstype eq "dateofbirth" ) { |
50 |
if ( $searchfieldstype eq "dateofbirth" ) { |
51 |
$searchmember = output_pref({dt => dt_from_string($searchmember), dateformat => 'iso', dateonly => 1}); |
51 |
$searchmember = eval { output_pref({dt => dt_from_string($searchmember), dateformat => 'iso', dateonly => 1}); }; |
|
|
52 |
# Prevent display of all dates if date was not valid |
53 |
unless ($searchmember ) { |
54 |
$searchmember = "1000-01-01"; |
55 |
} |
52 |
} |
56 |
} |
53 |
|
57 |
|
54 |
# variable information for DataTables (id) |
58 |
# variable information for DataTables (id) |
55 |
- |
|
|