Bug 4461: Simplify recipients code
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 26 Feb 2020 10:59:34 +0000 (11:59 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 6 Apr 2020 10:17:21 +0000 (11:17 +0100)
commitd198aaec04d5dc9ee26a702fb81fdad62d4edde6
treebdbe80753b943f20b830e51ba778e170dff10eec
parenta0775299e2109fb54fef1c104616290a5b2d929e
Bug 4461: Simplify recipients code

As the feature is now turned off without KohaAdminEmailAddress, we only
need to check if the email address of the library if defined.
Not that we should not check for $library->branchreplyto or
ReplytoDefault, but only $library->branchemail, as we do everywhere else
(I think)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt
opac/opac-reportproblem.pl