Lines 282-289
sub edit {
Link Here
|
282 |
# suspended_until can also be set to undef |
282 |
# suspended_until can also be set to undef |
283 |
my $suspended_until = |
283 |
my $suspended_until = |
284 |
exists $body->{suspended_until} |
284 |
exists $body->{suspended_until} |
285 |
? dt_from_string( $body->{suspended_until}, 'rfc3339' ) |
285 |
? $body->{suspended_until} && dt_from_string( $body->{suspended_until}, 'rfc3339' ) |
286 |
: dt_from_string( $hold->suspend_until, 'iso' ); |
286 |
: $hold->suspend_unti l && dt_from_string( $hold->suspend_until, 'iso' ); |
287 |
|
287 |
|
288 |
my $params = { |
288 |
my $params = { |
289 |
reserve_id => $hold_id, |
289 |
reserve_id => $hold_id, |
290 |
- |
|
|