update: fix config save

This commit is contained in:
tokumeikoi 2022-12-15 11:39:00 +08:00
parent 3f7ecb23df
commit 28677f45be
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ class ConfigController extends Controller
continue; continue;
} }
if (array_key_exists($k, $data)) { if (array_key_exists($k, $data)) {
$config[$k] = trim($data[$k]); $config[$k] = $data[$k];
} }
} }
$data = var_export($config, 1); $data = var_export($config, 1);

File diff suppressed because one or more lines are too long