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

            Bug ID: 19048
           Summary: Self checkout: Internal server error in sco-main.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: ve...@veron.ch
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@gmail.com

Internal server error in sco-main.pl:

Can't call method "unblessed" on an undefined value at
(...)/koha/opac/sco/sco-main.pl line 117

To reproduce: Call SCO main page

Line 117 is:
my $borrower = Koha::Patrons->find( { cardnumber => $patronid } )->unblessed;

The error occurs if $patronid does not exist in the database. This is already
the case with the first call of sco-main.pl ($patronid is '').

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to