From d60f7c9ab79380fbf2ee146c56556b680a0a753f Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 14 Mar 2014 15:14:14 +0100 Subject: [PATCH] Bug 9032: (follow-up): send cookie with redirect Small fix to resolve a problem Dobrica noted on the bug report: if you had to log in when accepting the share, the cookie was not passed back to the server when redirecting to shelf display. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- 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 1ab31bdf8f..9e12266c79 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 { -- 2.39.5