Bug 18647: Resolve internal server error on category_type
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 23 May 2017 12:31:01 +0000 (14:31 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Mon, 5 Jun 2017 12:12:38 +0000 (14:12 +0200)
commit54d42d3465c42d4c72a64336a162f31c79d35a9f
tree6a0266ec57904d9ea8f93c980cef01d60ffd1a76
parent21d8f726fa205b4b31f9a3b7f17227688a6b3449
Bug 18647: Resolve internal server error on category_type

See bug 18552. When we resolved the housebound_role bug, the hash got
filled correctly again. And this revealed that the (second) call to
Koha::Patrons->find was not appropriate. It can be removed, as Jonathan
explained on the report.

Note: Commit 95429af6855e8ed37945b681dc466bf360deffb added this call, but
it was hidden until the template variable hash got fixed.

Test plan:
Restart Plack and go to patron details again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 87bb59304e53755d7b4565c517578a838e1f0041)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
members/moremember.pl