]> git.koha-community.org Git - koha.git/commit
Bug 15066: Make transfer rotating collection works under Plack
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Oct 2015 09:21:24 +0000 (09:21 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 20:20:44 +0000 (21:20 +0100)
commit0dc59ab982b9fffe37db39efe7c5175de811d6e0
tree3e2d352fc893d4841ec7312332d5f128a61b6cd9
parent22a6fb9e96a335a69956009ebef94fb31ac2b2fd
Bug 15066: Make transfer rotating collection works under Plack

This patch the 2 following errors:
Undefined subroutine &C4::RotatingCollections::transferbook called at
C4/RotatingCollections.pm line 451.
Undefined subroutine &C4::RotatingCollections::GetTransfers called at
C4/RotatingCollections.pm line 450.

And this warning:
"my" variable $colId masks earlier declaration in same scope at
/home/koha/src/rotating_collections/transferCollection.pl line 75.

Test plan:
Create a rotating collection
Transfer it to another branch
It should work with this patch

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 1ef0b3c47168c13c98bc839a2de9ef4d76b44560)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/RotatingCollections.pm
rotating_collections/transferCollection.pl