From 623e5ac1355a8743ffcabddfa9de1ca469eee886 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 2 Oct 2012 09:25:16 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 8860 - can't merge if you don't have fast cataloging permissions Content-Type: text/plain; charset="utf-8" Signed-off-by: Owen Leonard --- cataloguing/merge_ajax.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/merge_ajax.pl b/cataloguing/merge_ajax.pl index 6bad3e9..26f0800 100755 --- a/cataloguing/merge_ajax.pl +++ b/cataloguing/merge_ajax.pl @@ -16,7 +16,7 @@ use CGI::Cookie; # need to check cookies before # having CGI parse the POST request my %cookies = fetch CGI::Cookie; -my ($auth_status, $sessionID) = check_cookie_auth($cookies{'CGISESSID'}->value, { editcatalogue => '1' }); +my ($auth_status, $sessionID) = check_cookie_auth($cookies{'CGISESSID'}->value, { editcatalogue => 'edit_catalogue' }); if ($auth_status ne "ok") { my $reply = CGI->new(""); print $reply->header(-type => 'text/html'); -- 1.7.9.5