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

(-)a/serials/subscription-add.pl (-3 / +2 lines)
Lines 327-333 sub redirect_add_subscription { Link Here
327
    my $firstacquidate = output_pref( { str => scalar $query->param('firstacquidate'), dateonly => 1, dateformat => 'iso' } );
327
    my $firstacquidate = output_pref( { str => scalar $query->param('firstacquidate'), dateonly => 1, dateformat => 'iso' } );
328
328
329
    if(!defined $enddate || $enddate eq '') {
329
    if(!defined $enddate || $enddate eq '') {
330
        my $subscription = Koha::Subscriptions->new({
330
        my $subscription = Koha::Subscription->new({
331
            startdate       => $startdate,
331
            startdate       => $startdate,
332
            periodicity     => $periodicity,
332
            periodicity     => $periodicity,
333
            weeklength      => $weeklength,
333
            weeklength      => $weeklength,
Lines 448-454 sub redirect_mod_subscription { Link Here
448
448
449
    # Guess end date
449
    # Guess end date
450
    if(!defined $enddate || $enddate eq '') {
450
    if(!defined $enddate || $enddate eq '') {
451
        my $subscription = Koha::Subscriptions->new({
451
        my $subscription = Koha::Subscription->new({
452
            startdate       => $startdate,
452
            startdate       => $startdate,
453
            periodicity     => $periodicity,
453
            periodicity     => $periodicity,
454
            weeklength      => $weeklength,
454
            weeklength      => $weeklength,
455
- 

Return to bug 17656