Lines 142-148
sub search {
Link Here
|
142 |
($patron->{overdues}, $patron->{issues}, $patron->{fines}) = |
142 |
($patron->{overdues}, $patron->{issues}, $patron->{fines}) = |
143 |
GetMemberIssuesAndFines($patron->{borrowernumber}); |
143 |
GetMemberIssuesAndFines($patron->{borrowernumber}); |
144 |
if($patron->{dateexpiry} and $patron->{dateexpiry} ne '0000-00-00') { |
144 |
if($patron->{dateexpiry} and $patron->{dateexpiry} ne '0000-00-00') { |
145 |
$patron->{dateexpiry} = eval { output_pref( { dt => dt_from_string( $patron->{dateexpiry}), dateonly => 1, dateformat => 'iso' } ); }; |
145 |
$patron->{dateexpiry} = output_pref( { dt => dt_from_string( $patron->{dateexpiry}), dateonly => 1, dateformat => 'iso' } ); |
146 |
} else { |
146 |
} else { |
147 |
$patron->{dateexpiry} = ''; |
147 |
$patron->{dateexpiry} = ''; |
148 |
} |
148 |
} |
149 |
- |
|
|