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

(-)a/serials/subscription-add.pl (-3 / +2 lines)
Lines 323-329 sub redirect_add_subscription { Link Here
323
        output_pref( { str => scalar $query->param('firstacquidate'), dateonly => 1, dateformat => 'iso' } );
323
        output_pref( { str => scalar $query->param('firstacquidate'), dateonly => 1, dateformat => 'iso' } );
324
324
325
    if ( !defined $enddate || $enddate eq '' ) {
325
    if ( !defined $enddate || $enddate eq '' ) {
326
        my $subscription = Koha::Subscriptions->new(
326
        my $subscription = Koha::Subscription->new(
327
            {
327
            {
328
                startdate    => $startdate,
328
                startdate    => $startdate,
329
                periodicity  => $periodicity,
329
                periodicity  => $periodicity,
Lines 440-446 sub redirect_mod_subscription { Link Here
440
440
441
    # Guess end date
441
    # Guess end date
442
    if ( !defined $enddate || $enddate eq '' ) {
442
    if ( !defined $enddate || $enddate eq '' ) {
443
        my $subscription = Koha::Subscriptions->new(
443
        my $subscription = Koha::Subscription->new(
444
            {
444
            {
445
                startdate    => $startdate,
445
                startdate    => $startdate,
446
                periodicity  => $periodicity,
446
                periodicity  => $periodicity,
447
- 

Return to bug 17656