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

Josef Moravec <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #77636|0                           |1
        is obsolete|                            |

--- Comment #6 from Josef Moravec <[email protected]> ---
Created attachment 78049
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78049&action=edit
Bug 20504: Fix lang attribute in html tag on systempreferences page

On the system preferences page the lang attribute of the
html tag is always empty.

To test:
- Go to systempreferences
- Check the html source and look at the html tag,
  it should read: <html lang="">
- Apply patch
- Check the html source again: <html lang="en">
  Verify the language code shown matches the currently
  selected language in the staff interface
- Verify the language system preferences work correctly

Signed-off-by: Jonathan Druart <[email protected]>
The problem was actually that
  $lang = $template->param( 'lang' );
should certainly be $lang = $input->param( 'lang' );
and, as it, it overrides the value of 'lang' passed from C4::Auth

Signed-off-by: Josef Moravec <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to