From 40829673f3db622f62c23754b120d7a57a51bb28 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 14 Mar 2014 15:14:14 +0100 Subject: [PATCH] Bug 9032: QA Follow-up: Send cookie with redirect Small fix to resolve a problem Dobrica noted on the report. If you had to login when accepting the share, the cookie was not passed back to the server when redirecting to shelf display. Signed-off-by: Marcel de Rooy Accepted a share while logged in and while not logged in. Signed-off-by: Jonathan Druart --- opac/opac-shareshelf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-shareshelf.pl b/opac/opac-shareshelf.pl index 1ab31bd..9e12266 100755 --- a/opac/opac-shareshelf.pl +++ b/opac/opac-shareshelf.pl @@ -116,7 +116,7 @@ sub show_accept { if( AcceptShare($param->{shelfnumber}, $dbkey, $param->{loggedinuser} ) ) { notify_owner($param); #redirect to view of this shared list - print $param->{query}->redirect(SHELVES_URL.$param->{shelfnumber}); + print $param->{query}->redirect( -uri => SHELVES_URL.$param->{shelfnumber}, -cookie => $param->{cookie} ); exit; } else { -- 1.7.10.4