From 09f688c625485110d498b11fcc430ec3600850e4 Mon Sep 17 00:00:00 2001 From: Prasath Mani Date: Thu, 17 Jan 2019 12:34:54 +0530 Subject: [PATCH] Saving settings doesn't save #116 --- tinyfilemanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 4bad7dd..d2b2b76 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -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'; }