]> git.koha-community.org Git - koha.git/commit
Bug 9574: Plack fixes for serials/subscription-add.pl
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 10 Feb 2013 18:25:44 +0000 (13:25 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Mon, 11 Mar 2013 09:18:04 +0000 (22:18 +1300)
commit71b7da6de50b462ce36b9d912c778d8e7bd82987
treec34bd54b78796d1801516bd84b8e13cbf26af2cd
parente1455f48457d568a31c1eb967fd626d4c9d4223c
Bug 9574: Plack fixes for serials/subscription-add.pl

This patch fixes the following warnings under Plack:
* Use of uninitialized value $firstissuedate in string eq at \
    /home/jcamins/kohaclone/serials/subscription-add.pl line 92.
* Use of uninitialized value $firstissuedate in substr at \
    /home/jcamins/kohaclone/serials/subscription-add.pl line 105.
* Use of qw(...) as parentheses is deprecated at \
    /home/jcamins/kohaclone/serials/subscription-add.pl line 95.
* Variable "$firstissuedate" is not available at \
    /home/jcamins/kohaclone/serials/subscription-add.pl line 338.

To test:
1) Create a subscription. Ensure that setting the first issue's
   publication date works.
2) Edit a subscription. Ensure that the first issue's publication
   date shows up.
3) Sign off.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
No regressions found, all tests and QA script pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
serials/subscription-add.pl