X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=delitem.pl;h=c0a3242d37d34140c575277582a4e1c44698b803;hb=05e5034932dd596bca07da548778bdb67c02c20c;hp=afdd5bd9fdb7e27501bf9e9672c819f83b9efa14;hpb=1e67687742e36bbb90746ecdd78a0c6a63aad890;p=koha_gimpoz diff --git a/delitem.pl b/delitem.pl index afdd5bd9fd..c0a3242d37 100755 --- a/delitem.pl +++ b/delitem.pl @@ -29,8 +29,13 @@ use CGI; use C4::Output; use C4::Acquisitions; use C4::Biblio; +use C4::Auth; my $input = new CGI; +my $flagsrequired; +$flagsrequired->{editcatalogue}=1; +my ($loggedinuser, $cookie, $sessionID) = checkauth($input, 0, $flagsrequired); + #print $input->header; my $item=$input->param('itemnum'); delitem($item);