Bug 20696: Fix a few ugly "eq undef" comparisons in Search.pm
[koha.git] / opac / opac-topissues.pl
index 75e76d2..c3a7530 100755 (executable)
@@ -29,7 +29,6 @@ use C4::Languages;
 use C4::Search;
 use C4::Output;
 use C4::Koha;
-use C4::Branch;
 use C4::Circulation;
 use Date::Manip;
 
@@ -49,8 +48,6 @@ if ( ! C4::Context->preference('OpacTopissue') ) {
     exit;
 }
 
-my $itemtypes = GetItemTypes();
-
 my ($template, $borrowernumber, $cookie) = get_template_and_user(
     {
         template_name   => 'opac-topissues.tt',