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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 412-418 sub TooMany { Link Here
412
    # if a rule is found and has a loan limit set, count
412
    # if a rule is found and has a loan limit set, count
413
    # how many loans the patron already has that meet that
413
    # how many loans the patron already has that meet that
414
    # rule
414
    # rule
415
    if (defined($maxissueqty_rule) and defined($maxissueqty_rule->rule_value)) {
415
    if (defined($maxissueqty_rule) and $maxissueqty_rule->rule_value ne '') {
416
        my @bind_params;
416
        my @bind_params;
417
        my $count_query = q|
417
        my $count_query = q|
418
            SELECT COUNT(*) AS total, COALESCE(SUM(onsite_checkout), 0) AS onsite_checkouts
418
            SELECT COUNT(*) AS total, COALESCE(SUM(onsite_checkout), 0) AS onsite_checkouts
419
- 

Return to bug 23104