Bug 10904: (QA followup) Use branch limit if either IndependentBranches or Independen...
[koha-equinox.git] / mainpage.pl
index d0635cb..e2651d8 100755 (executable)
@@ -56,7 +56,8 @@ $template->param(
 );
 
 my $branch =
-  C4::Context->preference("IndependentBranchesPatronModifications")
+  (      C4::Context->preference("IndependentBranchesPatronModifications")
+      || C4::Context->preference("IndependentBranches") )
   && !$flags->{'superlibrarian'}
   ? C4::Context->userenv()->{'branch'}
   : undef;