]> git.koha-community.org Git - koha.git/commit
Bug 18552: [16.11.X] [QA Follow-up] Resolve warnings
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 19 May 2017 10:22:03 +0000 (12:22 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Mon, 5 Jun 2017 12:09:43 +0000 (14:09 +0200)
commit21d8f726fa205b4b31f9a3b7f17227688a6b3449
tree87767ad753b382288b9f5fd2f3c5124563ee0743
parented66ddc018d0b8286e9b339b3e253f940f172c59
Bug 18552: [16.11.X] [QA Follow-up] Resolve warnings

Like:
Problem = a value of AutoResumeSuspendedHolds has been passed to param without key at /usr/share/koha/masterclone/C4/Templates.pm line 137.
Problem = a value of relatives_borrowernumbers has been passed to param without key at /usr/share/koha/masterclone/C4/Templates.pm line 137.

Problem is functions returning undef in list context (in this case
housebound_role).
No need to call Patrons::find a second time.

Note: The call of GetDebarments in the first patch suffered from this too.
It is in a fine place now too. But strictly speaking, should not have been
moved.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
members/moremember.pl