[Koha-bugs] [Bug 30807] Use patron-title.inc in patron payments pages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 31 09:27:40 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30807

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha at gmail.
                   |                            |com

--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Certainly a coding preference, but I personally prefer to explicitly pass the
variable, even if not needed, like

[% INCLUDE 'patron-title.inc' patron=patron %]
instead of
[% INCLUDE 'patron-title.inc' %]

It prevent future cleaning to easily miss a variable that would be called from
an include file.

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


More information about the Koha-bugs mailing list