[Koha-bugs] [Bug 14445] Noisy warns in Notices (letter.tt) module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 10 16:30:07 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14445

--- Comment #10 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 40922
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40922&action=edit
[PASSED QA] Bug 14445: Silences warn in letter.pl

When changing Koha module to 'Circulation', there is a warn saying that $code
is uninitialized. This patch sets $code to an empty string to silence the warn.

To test:
1) Go to Tools, the Notices & Slips
2) Click 'new notice' (This will trigger warns, but ignore these as they will
be corrected in the next patch)
3) Change Koha module to 'Circulation'
4) Notice warn about uninitialized $code variable
5) Apply patch and reload page, change Koha module to 'Circulation'
6) Notice page still works and warns are gone

Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list