Bug 7831 : Sort budgets for selection in new order
[koha.git] / cataloguing / moveitem.pl
index b1542e3..24414cc 100755 (executable)
@@ -19,8 +19,9 @@
 # with Koha; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-use CGI;
 use strict;
+#use warnings; FIXME - Bug 2505
+use CGI;
 use C4::Auth;
 use C4::Output;
 use C4::Biblio;
@@ -47,7 +48,7 @@ my ($template, $loggedinuser, $cookie)
                  query => $query,
                  type => "intranet",
                  authnotrequired => 0,
-                 flagsrequired => {editcatalogue => 'edit_catalogue'},
+        flagsrequired   => { editcatalogue => 'edit_items' },
                  debug => 1,
                  });