use C4::Auth;
use Koha::Checkouts;
-my $query = new CGI;
+my $query = CGI->new;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
template_name => "circ/checkout-notes.tt",
query => $query,
type => "intranet",
- authnotrequired => 0,
- flagsrequired => { circulation => "manage_checkout_notes" },
+ flagsrequired => { circulate => "manage_checkout_notes" },
}
);