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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 5 Nov 2015 12:50:09 +0000 (09:50 -0300)
commit1ef0b3c47168c13c98bc839a2de9ef4d76b44560
tree9ee1cb9b1b2f6c0d6c709024b15ebe9d59eb7c82
parente06c5a89fd539f8cc5f43773bf2aaec5c41e63ed
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>
C4/RotatingCollections.pm
rotating_collections/transferCollection.pl