bug 4405 followup - fix typo
authorGalen Charlton <gmcharlt@gmail.com>
Sat, 1 May 2010 14:36:39 +0000 (10:36 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Sat, 1 May 2010 14:39:11 +0000 (10:39 -0400)
As much as circ staff may want to block circulation to
over-rude patrons, Koha probably shouldn't be trying to make
that determination on its own. :)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Circulation.pm

index 3201e68..833d44d 100644 (file)
@@ -737,7 +737,7 @@ sub CanBookBeIssued {
        if ( C4::Context->preference("OverduesBlockCirc") eq 'block'){
            $issuingimpossible{USERBLOCKEDREMAINING} = $count;
        }
-       elsif ( C4::Context->preference("OverudesBlockCirc") eq 'confirmation'){
+       elsif ( C4::Context->preference("OverduesBlockCirc") eq 'confirmation'){
            $needsconfirmation{USERBLOCKEDREMAINING} = $count;
        }
     }elsif($blocktype == 1){