Browse Source

Bug 20792: (bug 18789 follow-up) Fix patron edit page if TranslateNotices is set

translated_language is not a Koha::Patron's method but a simple variable
sent to the template.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
18.05.x
Jonathan Druart 3 years ago
parent
commit
b2f5371b01
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

2
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

@ -362,7 +362,7 @@
[% IF Koha.Preference('TranslateNotices') %]
<li>
<span class="label">Preferred language for notices: </span>
[% patron.translated_language %]
[% translated_language %]
</li>
[% END %]
</ol>

Loading…
Cancel
Save