영카트 후기 관리자페이지에서 답변시 html 태그가 사라지는 오류 수정

This commit is contained in:
thisgun
2021-03-16 11:07:45 +09:00
parent 9e0fc19c0d
commit 9633228efe

View File

@ -15,7 +15,12 @@ $posts = array();
$check_keys = array('is_subject', 'is_content', 'is_confirm', 'is_reply_subject', 'is_reply_content', 'is_id');
foreach($check_keys as $key){
$posts[$key] = isset($_POST[$key]) ? clean_xss_tags($_POST[$key], 1, 1) : '';
if( in_array($key, array('is_content', 'is_reply_content')) ){
$posts[$key] = isset($_POST[$key]) ? $_POST[$key] : '';
} else {
$posts[$key] = isset($_POST[$key]) ? clean_xss_tags($_POST[$key], 1, 1) : '';
}
}
if ($w == "u")