From 15c18ac182812ff92fbdc28fa36dbc920cb6328c Mon Sep 17 00:00:00 2001
From: Chris Cormack <chrisc@catalyst.net.nz>
Date: Mon, 1 Aug 2011 21:23:45 +1200
Subject: [PATCH] Bug 6553 : Fixing authentication issue, there is no reason we should be able to use these without authentication

http://bugs.koha-community.org/show_bug.cgi?id=6653
---
 rotating_collections/addItems.pl            |    2 +-
 rotating_collections/editCollections.pl     |    2 +-
 rotating_collections/rotatingCollections.pl |    2 +-
 rotating_collections/transferCollection.pl  |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rotating_collections/addItems.pl b/rotating_collections/addItems.pl
index acde79a..13b2cb7 100755
--- a/rotating_collections/addItems.pl
+++ b/rotating_collections/addItems.pl
@@ -16,7 +16,7 @@ my ($template, $loggedinuser, $cookie)
     = get_template_and_user({template_name => "rotating_collections/addItems.tmpl",
 			     query => $query,
 			     type => "intranet",
-			     authnotrequired => 1,
+			     authnotrequired => 0,
 			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
diff --git a/rotating_collections/editCollections.pl b/rotating_collections/editCollections.pl
index 6289cac..a24b333 100755
--- a/rotating_collections/editCollections.pl
+++ b/rotating_collections/editCollections.pl
@@ -17,7 +17,7 @@ my ($template, $loggedinuser, $cookie)
     = get_template_and_user({template_name => "rotating_collections/editCollections.tmpl",
 			     query => $query,
 			     type => "intranet",
-			     authnotrequired => 1,
+			     authnotrequired => 0,
 			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
diff --git a/rotating_collections/rotatingCollections.pl b/rotating_collections/rotatingCollections.pl
index b085e6b..6681e36 100755
--- a/rotating_collections/rotatingCollections.pl
+++ b/rotating_collections/rotatingCollections.pl
@@ -15,7 +15,7 @@ my ($template, $loggedinuser, $cookie)
     = get_template_and_user({template_name => "rotating_collections/rotatingCollections.tmpl",
 			     query => $query,
 			     type => "intranet",
-			     authnotrequired => 1,
+			     authnotrequired => 0,
 			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
diff --git a/rotating_collections/transferCollection.pl b/rotating_collections/transferCollection.pl
index e2c5407..f97536f 100755
--- a/rotating_collections/transferCollection.pl
+++ b/rotating_collections/transferCollection.pl
@@ -20,7 +20,7 @@ my ($template, $loggedinuser, $cookie)
     = get_template_and_user({template_name => "rotating_collections/transferCollection.tmpl",
 			     query => $query,
 			     type => "intranet",
-			     authnotrequired => 1,
+			     authnotrequired => 0,
 			     flagsrequired => {parameters => 1},
 			     debug => 1,
 			     });
-- 
1.7.4.1