Bugfix: Correct save_settings() return value (o lack thereof)
This commit is contained in:
parent
2339505194
commit
aac9d15eb9
2
core.php
2
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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue