영카트 5.4 버전 상품제목명 수정시 짧은 주소로 적용이 되지 않는 오류 수정

This commit is contained in:
thisgun
2020-02-10 19:13:11 +09:00
parent 081e0e8924
commit acc5b9dc4a
3 changed files with 9 additions and 5 deletions

View File

@ -601,7 +601,8 @@ if($all_fields) {
sql_query(" update {$g5['g5_shop_item_table']} set it_name = it_name {$all_fields} ");
}
if( function_exists('shop_seo_title_update') ) shop_seo_title_update($it_id);
$is_seo_title_edit = $w ? true : false;
if( function_exists('shop_seo_title_update') ) shop_seo_title_update($it_id, $is_seo_title_edit);
run_event('shop_admin_itemformupdate', $it_id, $w);

View File

@ -53,6 +53,8 @@ if ($_POST['act_button'] == "선택수정") {
where it_id = '".preg_replace('/[^a-z0-9_\-]/i', '', $_POST['it_id'][$k])."' ";
sql_query($sql);
if( function_exists('shop_seo_title_update') ) shop_seo_title_update(preg_replace('/[^a-z0-9_\-]/i', '', $_POST['it_id'][$k]), true);
}
} else if ($_POST['act_button'] == "선택삭제") {