Minor Fix : IndependentBranchPatron misspelling
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 6 Apr 2010 12:52:48 +0000 (14:52 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Fri, 14 May 2010 07:27:45 +0000 (09:27 +0200)
C4/Members.pm
Line 179, preference used would not be correctly spelled

C4/Members.pm

index 3318a1c..76cc36f 100644 (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 =?";