mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2026-03-14 20:55:50 +01:00
Saving settings doesn't save #116
This commit is contained in:
parent
f26977adb3
commit
09f688c625
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ if (isset($_POST['ajax']) && !FM_READONLY) {
|
|||
if (isset($_POST['type']) && $_POST['type'] == "settings") {
|
||||
global $cfg, $lang, $report_errors, $show_hidden_files, $lang_list;
|
||||
$newLng = $_POST['js-language'];
|
||||
fm_get_translations();
|
||||
fm_get_translations([]);
|
||||
if (!array_key_exists($newLng, $lang_list)) {
|
||||
$newLng = 'en';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue