Fix for bug 1908

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2008-02-28 08:36:34 +13:00 committed by Joshua Ferraro
parent 5057e74914
commit c43eadf3c7

View 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} );
}
}