From aac9d15eb946b8c53b31112d5b21d9476fa862c2 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 12 May 2018 23:17:42 +0100 Subject: [PATCH] Bugfix: Correct save_settings() return value (o lack thereof) --- core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.php b/core.php index 6d11ada..f57ddf2 100644 --- a/core.php +++ b/core.php @@ -669,7 +669,7 @@ function render_editor($editorName) */ function save_settings() { global $paths, $settings; - file_put_contents($paths->settings_file, json_encode($settings, JSON_PRETTY_PRINT)) !== false; + return file_put_contents($paths->settings_file, json_encode($settings, JSON_PRETTY_PRINT)) !== false; } /**