View | Details | Raw Unified | Return to bug 25440
Collapse All | Expand All

(-)a/admin/smart-rules.pl (-2 / +1 lines)
Lines 271-277 elsif ($op eq 'add') { Link Here
271
    my $no_auto_renewal_after = $input->param('no_auto_renewal_after');
271
    my $no_auto_renewal_after = $input->param('no_auto_renewal_after');
272
    $no_auto_renewal_after = '' if $no_auto_renewal_after =~ /^\s*$/;
272
    $no_auto_renewal_after = '' if $no_auto_renewal_after =~ /^\s*$/;
273
    my $no_auto_renewal_after_hard_limit = $input->param('no_auto_renewal_after_hard_limit') || '';
273
    my $no_auto_renewal_after_hard_limit = $input->param('no_auto_renewal_after_hard_limit') || '';
274
    $no_auto_renewal_after_hard_limit = eval { dt_from_string( $input->param('no_auto_renewal_after_hard_limit') ) } if ( $no_auto_renewal_after_hard_limit );
274
    $no_auto_renewal_after_hard_limit = eval { dt_from_string( $no_auto_renewal_after_hard_limit ) } if ( $no_auto_renewal_after_hard_limit );
275
    $no_auto_renewal_after_hard_limit = output_pref( { dt => $no_auto_renewal_after_hard_limit, dateonly => 1, dateformat => 'iso' } ) if ( $no_auto_renewal_after_hard_limit );
275
    $no_auto_renewal_after_hard_limit = output_pref( { dt => $no_auto_renewal_after_hard_limit, dateonly => 1, dateformat => 'iso' } ) if ( $no_auto_renewal_after_hard_limit );
276
    my $reservesallowed  = strip_non_numeric($input->param('reservesallowed'));
276
    my $reservesallowed  = strip_non_numeric($input->param('reservesallowed'));
277
    my $holds_per_record = strip_non_numeric($input->param('holds_per_record'));
277
    my $holds_per_record = strip_non_numeric($input->param('holds_per_record'));
278
- 

Return to bug 25440