Skip to content
Snippets Groups Projects
Unverified Commit 69e0a369 authored by Peter Stadler's avatar Peter Stadler Committed by GitHub
Browse files

fix getPreference function (#527)

the getPreference would only check the URL parameter and not the actual
preferences for the key "application_language". This resulted in an
always-English frontend independent of the preferences set in the prefs
file.

The issue was reported by @obertsalome and can be reproduced with the
current Pintos data by simply starting the Edirom without any URL
parameter. This will show the frontend GUI elements in English although
the "application_language" is set to "de".


## Types of changes
- Bug fix (non-breaking change which fixes an issue)
- Improvement

## Overview
- I have performed a self-review of my code, according to the [style
guide](https://github.com/Edirom/Edirom-Online/blob/develop/STYLE-GUIDE.md)
- I have read the
[CONTRIBUTING](https://github.com/Edirom/Edirom-Online/blob/develop/CONTRIBUTING.md)
document.
- All new and existing tests passed.
parents e7060f21 ec30b845
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment