Bug 30377: Fix two CGI::param called in list context-warnings
[koha-ffzg.git] / opac / opac-search-history.pl
index 019fdc6..8ef2306 100755 (executable)
@@ -102,7 +102,7 @@ unless ( $loggedinuser ) {
             C4::Search::History::delete(
                 {
                     userid => $loggedinuser,
-                    id     => [ $cgi->param('id') ],
+                    id     => [ @id ],
                 }
             );
         } else {