Bug 20310: Redirect article record without items for article requests
[koha-ffzg.git] / opac / opac-review.pl
index 6c0ac3e..f00b79f 100755 (executable)
@@ -24,14 +24,13 @@ use C4::Koha;
 use C4::Output;
 use C4::Biblio;
 use C4::Scrubber;
-use C4::Debug;
 
 use Koha::Biblios;
 use Koha::DateUtils;
 use Koha::Review;
 use Koha::Reviews;
 
-my $query        = new CGI;
+my $query        = CGI->new;
 my $biblionumber = $query->param('biblionumber');
 my $review       = $query->param('review');
 my $reviewid     = $query->param('reviewid');
@@ -93,7 +92,6 @@ if( !@errors && defined $review ) {
        }
 }
 (@errors   ) and $template->param(   ERRORS=>\@errors);
-($cgi_debug) and $template->param(cgi_debug=>1       );
 $review = $clean;
 $review ||= $savedreview->review if $savedreview;
 $template->param(