[Koha-bugs] [Bug 20537] Warnings in overdue_notices.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 17:29:47 CEST 2019


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

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Hi Hayley,

It will work, but I am wondering if something like that would not be more
readable:

my $borr = sprintf( "%s%s%s (%s)",
    $data->{surname} || '',
    $data->{firstname} && $data->{surname} ? ', ' : '',
    $data->{firstname} || '',
    $borrowernumber );

What do you think?

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


More information about the Koha-bugs mailing list