]> git.koha-community.org Git - koha.git/commit
Bug 30532: (bug 29957 follow-up) Fix '$cookie->value'
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Apr 2022 13:05:24 +0000 (15:05 +0200)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 22 Apr 2022 18:29:10 +0000 (14:29 -0400)
commitcbbf847fdeefe887fe12e71d61b2acbfb361a5a7
treefe4d6c676dc114f13652eefe3fb02bae60b43c3f
parente26dd8f09f201134188cebb9587783334c732487
Bug 30532: (bug 29957 follow-up) Fix '$cookie->value'

We got
 Can't call method "value" on unblessed reference at /kohadevbox/koha/opac/opac-messaging.pl line 86

$cookie can be an arrayref, we should retrieve the session id using
CGI->cookie('CGISESSID')

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-messaging.pl
opac/opac-sendbasket.pl
reports/guided_reports.pl