Bug Fixing : OPAC : bad Modifications opac-detail.tmpl
[koha.git] / serials / viewalerts.pl
index af235ea..9aed02e 100755 (executable)
@@ -1,6 +1,5 @@
 #!/usr/bin/perl
 
-# $Id$
 
 # Copyright 2000-2002 Katipo Communications
 #
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
+use CGI;
 use C4::Auth;
 use C4::Context;
-
-use CGI;
-use C4::Interface::CGI::Output;
-
+use C4::Output;
 use C4::Koha;
 use C4::Letters;
 use C4::Serials;
@@ -34,14 +31,14 @@ my $dbh = C4::Context->dbh;
 
 my $input = new CGI;
 my $print = $input->param('print');
-
+my $template_name;
 
 my ($template, $loggedinuser, $cookie)
     = get_template_and_user({template_name => 'serials/viewalerts.tmpl',
                  query => $input,
                  type => "intranet",
                  authnotrequired => 0,
-                 flagsrequired => {catalogue => 1},
+                 flagsrequired => {serials => '*'},
                  debug => 1,
                  });