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

            Bug ID: 20537
           Summary: Warnings in overdue_notices.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: katrin.fisc...@bsz-bw.de
        QA Contact: testo...@bugs.koha-community.org
                CC: ro...@catalyst.net.nz

We've seen a warning from overdue_notices.pl:

Use of uninitialized value in concatenation (.) or string at
/usr/share/koha/bin/cronjobs/overdue_notices.pl line 575.


I checked in our version and in master and think it happens for users withut a
surname (organisations usually):

 576                 $borrowernumber = $data->{'borrowernumber'};
 577                 my $borr =
 578                     $data->{'firstname'} . ', '
 579                   . $data->{'surname'} . ' ('
 580                   . $borrowernumber . ')';
 581                 $verbose

Should we check here if firstname/surname are defined?

-- 
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