[Koha-bugs] [Bug 27011] Warnings in returns.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 19 14:34:24 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27011
Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #115301|0 |1
is obsolete| |
--- Comment #6 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 115319
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115319&action=edit
Bug 27011: Remove unused $name variable
The variable is no longer used in the template, it has been removed by:
commit 76eb3a0549efe4c1f1557071a6cb4b33d4bd3e4d
Bug 18789: (follow-up) Pass a Koha::Patron object from returns.pl
- <td>[% name %]</td>
+ <td>[% INCLUDE 'patron-title.inc' patron=patron %]</td>
We can simply remove the $name variable from the controller script.
Test Plan:
1. Check out a book
2. Check in a book
3. Note what happens
4. Apply patch
5. Repeat step 1-2
6. Note that it doesn't break and everything still works
JD Amended patch: fix commit message
Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list