Minor Fix : IndependentBranchPatron misspelling

C4/Members.pm
Line 179, preference used would not be correctly spelled
This commit is contained in:
Henri-Damien LAURENT 2010-04-06 14:52:48 +02:00
parent c0af4d18c2
commit 76f405c9cf
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ sub SearchMember {
my (@where_string, @bind_params);
push @where_string, "cardnumber=?";
push @bind_params, $searchstring;
if (C4::Context->preference("IndependantBranchPatron") && !$showallbranches){
if (C4::Context->preference("IndependentBranchPatron") && !$showallbranches){
if (C4::Context->userenv && (C4::Context->userenv->{flags} % 2) !=1 && C4::Context->userenv->{'branch'}){
unless (C4::Context->userenv->{'branch'} eq "insecure"){
push @where_string,"borrowers.branchcode =?";