[Bug 41033] New: Warning when no cookie 'patronSessionConfirmation'
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41033 Bug ID: 41033 Summary: Warning when no cookie 'patronSessionConfirmation' Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org Bug 14787 added a cookie 'patronSessionConfirmation'. But code is using it with a strange : my $patron_session_confirmation = $query->cookie('patronSessionConfirmation') || undef; Then uses in split(). It generates warning : Use of uninitialized value $patron_session_confirmation in split at circ/circulation.pl -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41033 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |25790 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25790 [Bug 25790] [OMNIBUS] warnings removal -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41033 --- Comment #1 from Fridolin Somers <fridolin.somers@biblibre.com> --- Can we just change with empty string ? my $patron_session_confirmation = $query->cookie('patronSessionConfirmation') || q{}; -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41033 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |14787 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14787 [Bug 14787] Allow confirm/continue option to circulation warnings at checkout -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org