[Koha-bugs] [Bug 11732] Eliminate warning on undefined branchcode
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 16:28:06 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11732
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25274|0 |1
is obsolete| |
--- Comment #9 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 25275
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25275&action=edit
Bug 11732: Eliminate warning on undefined branchcode
When you run the Reserves test, you have the warnings:
Use of uninitialized value $branchcode in hash element at
/usr/share/koha/testclone/C4/Letters.pm line 138.
Use of uninitialized value $branchcode in hash element at
/usr/share/koha/testclone/C4/Letters.pm line 148.
This patch removes that warning.
Test plan:
Run the Reserves.t again.
Revised Test Plan
-----------------
Run the following on the command line prompt before and after
applying the patch:
perl -e "use C4::Letters; *C4::Context::userenv= sub { return {} }; my
\$blah=C4::Letters::getletter('circulation','DUE', 'BRA');"
Before the patch there will be errors (as above), after there will not.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
IndependentBranches must be on.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list