[Koha-bugs] [Bug 32123] New: CRASH: Can't use an undefined value as a HASH reference at circ/article-requests.pl line 38

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 7 16:01:10 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32123

            Bug ID: 32123
           Summary: CRASH: Can't use an undefined value as a HASH
                    reference at circ/article-requests.pl line 38
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

Looks like bug 32075.
Just another case where userenv returns undef.

my $branchcode = defined( $query->param('branchcode') ) ?
$query->param('branchcode') : C4::Context->userenv->{'branch'};

This line is just after get_template_and_user so we should expect it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list