Bug 20792: (bug 18789 follow-up) Fix patron edit page if TranslateNotices is set
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 May 2018 13:40:43 +0000 (10:40 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 May 2018 13:58:19 +0000 (10:58 -0300)
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

index edfee7e..881fb45 100644 (file)
     [% IF Koha.Preference('TranslateNotices') %]
         <li>
             <span class="label">Preferred language for notices: </span>
-            [% patron.translated_language %]
+            [% translated_language %]
         </li>
     [% END %]
        </ol>