Bug 10755 - Add "Keyword as Phrase" to staff client advanced search indexes
[koha.git] / mainpage.pl
index 8aa8495..4159618 100755 (executable)
@@ -42,8 +42,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
     }
 );
 
-C4::Auth::version_check($query, 'intranet', $cookie);
-
 my $all_koha_news   = &GetNewsToDisplay("koha");
 my $koha_news_count = scalar @$all_koha_news;
 
@@ -53,7 +51,7 @@ $template->param(
 );
 
 my $branch =
-  C4::Context->preference("IndependantBranches")
+  C4::Context->preference("IndependentBranches")
   && !$flags->{'superlibrarian'}
   ? C4::Context->userenv()->{'branch'}
   : undef;