[Koha-bugs] [Bug 20537] New: Warnings in overdue_notices.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 6 13:22:05 CEST 2018
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 at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
CC: robin at 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.
More information about the Koha-bugs
mailing list