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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
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 {