Bug 17775 - Add new user with LDAP not works under Plack
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 30 Jan 2017 11:42:09 +0000 (12:42 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 7 Feb 2017 21:07:31 +0000 (22:07 +0100)
commite005d17bb6a6181a8b7d00a8e9bb7d75e9b2c071
tree7a5e6a454af6ba656b1e9e137a84c90e82f8fde5
parent6f959cd149c0484417056f50b0fb6590c837c428
Bug 17775 - Add new user with LDAP not works under Plack

This patch fixes internal server error:

Undefined subroutine &C4::Auth_with_ldap::AddMember called at /srv/koha_ffzg/C4/Auth_with_ldap.pm line 213.

It occurs only under plack, and it's strange since C4::Members
does EXPORT AddMember and we are importing it into Auth_with_ldap.pm
(and it does work under CGI).

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
I did not test but trust author and signoffer. The change cannot hurt.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 4740438b41573d24c6e83d182e2ce1cf6fc54545)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Auth_with_ldap.pm