배포

[아보카도 에디션 퍼스널] #비밀글 #보호글 #멤버글 태그가 사진만 있는 게시글에선 출력이 안 되는 문제

이동강 2026. 1. 19. 20:47

로드 게시판 기준

 

해당 게시판 스킨의 view_comment.php의 코멘트 출력 부분의 두 번째 sql을

$sql = " select * from $write_table where wr_parent = '{$list_item['wr_id']}' and wr_content != '' order by wr_is_comment, wr_comment, wr_comment_reply ";

(이렇게 생긴 거...?)

 

$sql = "
    select *
    from $write_table
    where wr_parent = '{$list_item['wr_id']}'
    order by
        wr_is_comment asc,
        wr_comment asc,
        wr_comment_reply asc
";

 

이렇게 바꾼다. 간단!