From: Kyle M Hall Date: Tue, 2 Oct 2012 13:25:16 +0000 (-0400) Subject: Bug 8860 - can't merge if you don't have fast cataloging permissions X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=40540ce2d132889895526d081ccc5afdc6951f65;p=koha.git Bug 8860 - can't merge if you don't have fast cataloging permissions Signed-off-by: Owen Leonard Signed-off-by: Paul Poulain --- diff --git a/cataloguing/merge_ajax.pl b/cataloguing/merge_ajax.pl index 6bad3e91d2..26f08003ac 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');