Bug 8150 [SIGNED-OFF] Remove obsoleted navigation bar in circ history
[koha.git] / reports / stats.screen.pl
index b15a50a..1d3eaef 100755 (executable)
@@ -16,6 +16,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
+#use warnings; FIXME - Bug 2505
 use CGI;
 use C4::Output;
 use C4::Auth;
@@ -25,11 +26,6 @@ use C4::Accounts;
 use C4::Debug;
 use Date::Manip;
 
-#use HTML::Template;
-#use Text::CSV_XS;
-#use Data::Dumper;
-
-
 my $input = new CGI;
 my $time  = $input->param('time');
 my $time2 = $input->param('time2');
@@ -41,7 +37,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
         query           => $input,
         type            => "intranet",
         authnotrequired => 1,
-        flagsrequired   => { borrowers => 1 },
+        flagsrequired   => { reports => '*' },
         debug           => 1,
     }
 );