]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 7 Mar 2013 14:17:48 +0000 (09:17 -0500)
commit4a84038a86a2b7c36f5d6dee7cdb0c4c31bee71d
tree64d7618111cf4256a52af94d8f09292062291473
parent1f88190fdd7cfc4eb17406555f905bd59afc82ce
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>
serials/subscription-add.pl