PHP80 버전에서 경고문이 나오는 코드 및 글 이동시 오류 현상 수정

This commit is contained in:
thisgun
2021-01-06 09:59:33 +09:00
parent 242eed5b35
commit e5ab7456f2
9 changed files with 34 additions and 36 deletions

View File

@ -184,7 +184,7 @@ function get_theme_config_value($dir, $key='*')
} else {
$keys = array_map('trim', explode(',', $key));
foreach($keys as $v) {
$tconfig[$v] = trim($theme_config[$v]);
$tconfig[$v] = isset($theme_config[$v]) ? trim($theme_config[$v]) : '';
}
}
}