Bug 16154: CGI->multi_param - Force scalar context
[koha_ffzg] / serials / serial-issues.pl
index 12d7f90..fdda1fd 100755 (executable)
@@ -46,7 +46,6 @@ use warnings;
 use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Koha;
-use C4::Dates;
 use C4::Serials;
 use C4::Output;
 use C4::Context;
@@ -77,7 +76,7 @@ if ($selectview eq "full"){
  # $subscription->{opacnote} =~ s/\n/\<br\/\>/g;
 
     $template->param(
-        biblionumber => $query->param('biblionumber'),
+        biblionumber => scalar $query->param('biblionumber'),
         years => $subscriptions,
         yearmin => $yearmin,
         yearmax =>$yearmax,