Bug 9456: (follow-up) remove whitespaces and tab
[koha.git] / admin / item_circulation_alerts.pl
index cf74f8f..2bfb496 100755 (executable)
@@ -33,7 +33,7 @@ use C4::ItemCirculationAlertPreference;
 use C4::Output;
 
 # shortcut for long package name
-my $preferences = 'C4::ItemCirculationAlertPreference';
+our $preferences = 'C4::ItemCirculationAlertPreference';
 
 # utf8 filter
 sub utf8 {
@@ -65,7 +65,7 @@ sub show {
             query           => $input,
             type            => "intranet",
             authnotrequired => 0,
-            flagsrequired   => { admin => 1 },
+            flagsrequired   => { parameters => 'parameters_remaining_permissions' },
             debug           => defined($input->param('debug')),
         }
     );
@@ -225,14 +225,3 @@ Branch code to apply this preference to
 =back
 
 =cut
-
-# Local Variables: ***
-# mode: cperl ***
-# indent-tabs-mode: nil ***
-# cperl-close-paren-offset: -4 ***
-# cperl-continued-statement-offset: 4 ***
-# cperl-indent-level: 4 ***
-# cperl-indent-parens-as-block: t ***
-# cperl-tab-always-indent: nil ***
-# End: ***
-# vim:tabstop=8 softtabstop=4 shiftwidth=4 shiftround expandtab