X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=rotating_collections%2FtransferCollection.pl;h=23eff46afdb4c3177d679a193730364bf561c20a;hb=28d97e322805a42680527232b151754b4778aed8;hp=6ca822c8d8ef9073a15f81e6c4827ffc6adae544;hpb=d339abf0bfc334a819818bbb9b4c31f23326cbd1;p=koha-ffzg.git diff --git a/rotating_collections/transferCollection.pl b/rotating_collections/transferCollection.pl index 6ca822c8d8..23eff46afd 100755 --- a/rotating_collections/transferCollection.pl +++ b/rotating_collections/transferCollection.pl @@ -1,5 +1,23 @@ #!/usr/bin/perl + +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# Koha is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, +# Suite 330, Boston, MA 02111-1307 USA +# + use strict; +#use warnings; FIXME - Bug 2505 require Exporter; use C4::Output; @@ -19,8 +37,8 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "rotating_collections/transferCollection.tmpl", query => $query, type => "intranet", - authnotrequired => 1, - flagsrequired => {parameters => 1}, + authnotrequired => 0, + flagsrequired => { tools => 'rotating_collections' }, debug => 1, });