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

(-)a/admin/smart-rules.pl (-3 / +2 lines)
Lines 317-323 elsif ($op eq "add-branch-cat") { Link Here
317
            my $sth_update = $dbh->prepare(q|
317
            my $sth_update = $dbh->prepare(q|
318
                UPDATE default_circ_rules
318
                UPDATE default_circ_rules
319
                SET maxissueqty = ?,
319
                SET maxissueqty = ?,
320
                    maxonsiteissueqty = ?,
320
                    maxonsiteissueqty = ?
321
            |);
321
            |);
322
322
323
            $sth_search->execute();
323
            $sth_search->execute();
Lines 349-355 elsif ($op eq "add-branch-cat") { Link Here
349
            my $sth_update = $dbh->prepare(q|
349
            my $sth_update = $dbh->prepare(q|
350
                UPDATE default_borrower_circ_rules
350
                UPDATE default_borrower_circ_rules
351
                SET maxissueqty = ?,
351
                SET maxissueqty = ?,
352
                    maxonsiteissueqty = ?,
352
                    maxonsiteissueqty = ?
353
                WHERE categorycode = ?
353
                WHERE categorycode = ?
354
            |);
354
            |);
355
            $sth_search->execute($categorycode);
355
            $sth_search->execute($categorycode);
356
- 

Return to bug 22648