Fix typo and Notice

Fix
 
> PHP Notice: Undefined index: charset in src/Core/Config/Cache/ConfigCacheLoader.php on line 131
This commit is contained in:
fabrixxm 2019-03-08 16:41:16 +01:00 committed by GitHub
parent 4315fec756
commit d8e508567b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class ConfigCacheLoader
unset($db_data);
}
if (isset($a->config['system']['db_charset'])) {
$a->config['database']['charset'] = $a->config['system']['charset'];
$a->config['database']['charset'] = $a->config['system']['db_charset'];
}
if (isset($pidfile)) {
$a->config['system']['pidfile'] = $pidfile;