mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +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() {
|
function save_settings() {
|
||||||
global $paths, $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