]> git.koha-community.org Git - koha.git/commit
Bug 14570: (QA follow-up) Call Koha::Patron->find in scalar context
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 19 Aug 2019 13:31:41 +0000 (10:31 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 20 Aug 2019 15:06:31 +0000 (16:06 +0100)
commitd09444c735c9879f7aebe8139f0a921a1076940b
treeb871b0b9ad37b507cc17802ec7b3261a3cba2676
parentee178f42ded6c3c0342e9ed478b070117a8b9776
Bug 14570: (QA follow-up) Call Koha::Patron->find in scalar context

This patch prevents opac/opac-memberentry.pl from exploding.

To test:
- Login with a known user in the OPAC
- Open the opac/opac-memberentry.pl page
=> FAIL: It explodes
- Apply this patch
- Restart all the things just in case:
  $ restart_all
- Reload the page
=> SUCCESS: Things work!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-memberentry.pl