]> git.koha-community.org Git - koha.git/commit
Bug 16442: Make C4::Ris plack safe
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 May 2016 18:53:46 +0000 (19:53 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Fri, 3 Jun 2016 13:50:03 +0000 (13:50 +0000)
commit87b181c6d40e7a811fee511648ddd3cb7d44c4e4
tree70b2859467a20e2477e1e2e4bae27210b6b8b0bd
parent7e30240e694c65bb635a495820cce8883d26baa5
Bug 16442: Make C4::Ris plack safe

C4::Ris incorrectly uses 4 package variables:
- $utf: not used, can be removed
- $intype: set to marcflavour once, but later it assumes that it is
  usmarc if not defined
- $marcprint: always 0, so set it to 0
- $protoyear: only used in 1 subroutine, let's define it at this
  level

Test plan:
Just make sure the RIS export works as before this patch

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
C4/Ris.pm