Bug 35701: Do not use t
To not interfer with the t from I18N
On bug 35329 we are using the I18N TT plugin that is providing the 't'
subroutine.
This loop is redefining the subroutine, therefore it is not longer
accessible.
Test plan:
Edit a patron and confirm the the "Title" dropdown still contain the
different values of syspref BorrowersTitles.
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 50904b219e
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
5c9c45c58c
commit
66bf6e5e0e
1 changed files with 4 additions and 4 deletions
|
@ -284,11 +284,11 @@ legend:hover {
|
|||
Salutation: </label>
|
||||
<select id="btitle" name="title">
|
||||
<option value=""></option>
|
||||
[% FOREACH t IN Koha.Preference('BorrowersTitles').split('\|') %]
|
||||
[% IF btitle == t %]
|
||||
<option value="[% t | html %]" selected="selected">[% t | html %]</option>
|
||||
[% FOREACH patron_title IN Koha.Preference('BorrowersTitles').split('\|') %]
|
||||
[% IF btitle == patron_title %]
|
||||
<option value="[% patron_title | html %]" selected="selected">[% patron_title | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% t | html %]">[% t | html %]</option>
|
||||
<option value="[% patron_title | html %]">[% t | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
Loading…
Reference in a new issue