From 76f405c9cf7cf6eb6a1f15a9bca46dcd10b28261 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Tue, 6 Apr 2010 14:52:48 +0200 Subject: [PATCH] Minor Fix : IndependentBranchPatron misspelling C4/Members.pm Line 179, preference used would not be correctly spelled --- C4/Members.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Members.pm b/C4/Members.pm index 3318a1cc75..76cc36f498 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -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 =?"; -- 2.39.5