Bug 17775 - Add new user with LDAP not works under Plack
commiteb2524132b61f681f9e4d8fa06d295d634e1093e
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 30 Jan 2017 11:42:09 +0000 (30 12:42 +0100)
committerMason James <mtj@kohaaloha.com>
Wed, 22 Feb 2017 09:12:11 +0000 (22 22:12 +1300)
tree64ad6583372bb60d661506855db5571de73b8045
parentf9da3f0a3633bef170826abfb638f3bde42ab2a5
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