mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-10-31 21:33:00 +00:00
Bugfix: Correct save_settings() return value (o lack thereof)
This commit is contained in:
parent
2339505194
commit
aac9d15eb9
1 changed files with 1 additions and 1 deletions
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 a new issue