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)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 7 Feb 2017 17:45:13 +0000 (17:45 +0000)
commit4740438b41573d24c6e83d182e2ce1cf6fc54545
treecd00e630c2ff85e7be727354a003934d3dc19486
parenteee1f23bc49d233bca6c8a8004dd6e79e2425484
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>
C4/Auth_with_ldap.pm