bug 7641 follow-up: activate use strict (see coding guidelines)
[koha_gimpoz] / reports / reports-home.pl
old mode 100644 (file)
new mode 100755 (executable)
index 3d164fc..8fc47cb
 # 
 
 use strict;
+#use warnings; FIXME - Bug 2505
 use CGI;
 use C4::Auth;
 use C4::Output;
-use C4::Interface::CGI::Output;
 use C4::Context;
 
 
@@ -30,7 +30,7 @@ my ($template, $loggedinuser, $cookie)
                                query => $query,
                                type => "intranet",
                                authnotrequired => 0,
-                               flagsrequired => {reports => 1},
+                               flagsrequired => {reports => '*'},
                                debug => 1,
                                });
 $template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),