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

(-)a/C4/Serials.pm (-2 / +2 lines)
Lines 920-926 sub GetPreviousSerialid { Link Here
920
                        FROM     serial
920
                        FROM     serial
921
                        WHERE    subscriptionid = ?
921
                        WHERE    subscriptionid = ?
922
                        AND      status = 2
922
                        AND      status = 2
923
                        ORDER BY serialid DESC LIMIT $nth,1 
923
                        ORDER BY serialid DESC LIMIT $nth,1
924
                ";
924
                ";
925
    my $sth = $dbh->prepare($strsth);
925
    my $sth = $dbh->prepare($strsth);
926
    $sth->execute($subscriptionid);
926
    $sth->execute($subscriptionid);
Lines 1467-1473 $subscriptionid = &NewSubscription($auser,branchcode,$aqbooksellerid,$cost,$aqbu Link Here
1467
    $lastvalue1,$innerloop1,$lastvalue2,$innerloop2,$lastvalue3,$innerloop3,
1467
    $lastvalue1,$innerloop1,$lastvalue2,$innerloop2,$lastvalue3,$innerloop3,
1468
    $status, $notes, $letter, $firstacquidate, $irregularity, $numberpattern,
1468
    $status, $notes, $letter, $firstacquidate, $irregularity, $numberpattern,
1469
    $locale, $callnumber, $manualhistory, $internalnotes, $serialsadditems,
1469
    $locale, $callnumber, $manualhistory, $internalnotes, $serialsadditems,
1470
    $staffdisplaycount, $opacdisplaycount, $graceperiod, $location, $enddate, 
1470
    $staffdisplaycount, $opacdisplaycount, $graceperiod, $location, $enddate,
1471
    $skip_serialseq, $itemtype, $previousitemtype);
1471
    $skip_serialseq, $itemtype, $previousitemtype);
1472
1472
1473
Create a new subscription with value given on input args.
1473
Create a new subscription with value given on input args.
(-)a/serials/serials-edit.pl (-2 lines)
Lines 90-96 if ( scalar(@subscriptionids) == 1 && index( $subscriptionids[0], q|,| ) > 0 ) { Link Here
90
}
90
}
91
my @errors;
91
my @errors;
92
my @errseq;
92
my @errseq;
93
my $dbh   = C4::Context->dbh;
94
93
95
# If user comes from subscription details
94
# If user comes from subscription details
96
unless (@serialids) {
95
unless (@serialids) {
97
- 

Return to bug 7677