]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 21 Apr 2022 23:41:36 +0000 (13:41 -1000)
commit2ee5b5b1247b392a1dfbe695315db32f76775b0a
treeec78ac2ce90d5afd00f8c09853be867cecfc0682
parent159a1a76c303d9a984b4d026640dd99348f88c28
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: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-messaging.pl
opac/opac-sendbasket.pl
reports/guided_reports.pl