]> git.koha-community.org Git - koha.git/commit
Bug 20832: Fix opac user profile page when there is overdue fine and no rental charge
authorJosef Moravec <josef.moravec@gmail.com>
Tue, 29 May 2018 11:48:14 +0000 (11:48 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 15 Jun 2018 11:49:45 +0000 (12:49 +0100)
commit97894259507619c7434764280c3d3a71963b3c85
tree705fdc2c93d960d9bbf0ac6b766b9c676c8266fb
parent84fd5b109e24e7c1ee67d7bb0c7ff1fb9776c8de
Bug 20832: Fix opac user profile page when there is overdue fine and no rental charge

Test plan:
0) Do not apply the patch
1) Have an overdue fine linked with specific item currently checked out
to your patron
2) Do not have any unpaid rental fees
3) Go to this patron profile in opac - page opac-user.pl
4) The page crashes with "Can't call method "get_column" on an undefined
value at
/usr/share/koha/opac/cgi-bin/opac/opac-user.pl line 217" in log
5) Apply the patch
6) Restart plack
7) The page should working and show the right amounts for fines

Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-user.pl