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

(-)a/C4/Serials.pm (-2 / +2 lines)
Lines 918-924 sub GetPreviousSerialid { Link Here
918
                        FROM     serial
918
                        FROM     serial
919
                        WHERE    subscriptionid = ?
919
                        WHERE    subscriptionid = ?
920
                        AND      status = 2
920
                        AND      status = 2
921
                        ORDER BY serialid DESC LIMIT $nth,1 
921
                        ORDER BY serialid DESC LIMIT $nth,1
922
                ";
922
                ";
923
    my $sth = $dbh->prepare($strsth);
923
    my $sth = $dbh->prepare($strsth);
924
    $sth->execute($subscriptionid);
924
    $sth->execute($subscriptionid);
Lines 1498-1504 $subscriptionid = &NewSubscription($auser,branchcode,$aqbooksellerid,$cost,$aqbu Link Here
1498
    $lastvalue1,$innerloop1,$lastvalue2,$innerloop2,$lastvalue3,$innerloop3,
1498
    $lastvalue1,$innerloop1,$lastvalue2,$innerloop2,$lastvalue3,$innerloop3,
1499
    $status, $notes, $letter, $firstacquidate, $irregularity, $numberpattern,
1499
    $status, $notes, $letter, $firstacquidate, $irregularity, $numberpattern,
1500
    $locale, $callnumber, $manualhistory, $internalnotes, $serialsadditems,
1500
    $locale, $callnumber, $manualhistory, $internalnotes, $serialsadditems,
1501
    $staffdisplaycount, $opacdisplaycount, $graceperiod, $location, $enddate, 
1501
    $staffdisplaycount, $opacdisplaycount, $graceperiod, $location, $enddate,
1502
    $skip_serialseq, $itemtype, $previousitemtype);
1502
    $skip_serialseq, $itemtype, $previousitemtype);
1503
1503
1504
Create a new subscription with value given on input args.
1504
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