Fix for bug 1908
[koha.git] / C4 / Circulation.pm
index ecd5e18..0b6892e 100644 (file)
@@ -755,7 +755,7 @@ sub CanBookBeIssued {
         my $userenv = C4::Context->userenv;
         if ( ($userenv) && ( $userenv->{flags} != 1 ) ) {
             $issuingimpossible{NOTSAMEBRANCH} = 1
-              if ( $item->{C4::Context->preference("HomeOrHoldingbranch")} ne $userenv->{branch} );
+              if ( $item->{C4::Context->preference("HomeOrHoldingBranch")} ne $userenv->{branch} );
         }
     }