버전 5.4.4.5 수정

This commit is contained in:
thisgun
2021-01-09 16:16:05 +09:00
5 changed files with 8 additions and 7 deletions

View File

@ -12,12 +12,12 @@ if( !isset($g5['content_table']) ){
// 내용
if($co_seo_title){
$co = get_content_by_field($g5['content_table'], 'content', 'co_seo_title', generate_seo_title($co_seo_title));
$co_id = $co['co_id'];
$co_id = isset($co['co_id']) ? $co['co_id'] : 0;
} else {
$co = get_content_db($co_id);
}
if( ! (isset($co['co_seo_title']) && $co['co_seo_title']) && $co['co_id'] ){
if( ! (isset($co['co_seo_title']) && $co['co_seo_title']) && isset($co['co_id']) && $co['co_id'] ){
seo_title_update($g5['content_table'], $co['co_id'], 'content');
}