주제: 글쓰기 시 프리뷰(미리보기)의 카테고리 출력 버그
여기 처음 쓰는 글이네요 ^^;
이렇게 쓰면 될까요;;;
미리보기시 카테고리가 엉뚱하게 출력되는 버그...;;;
발견은 1.06에서 발견했습니다만.. 1.1에서도 제대로 출력이 안 되는 것 같네요.
1.06에서는 blog\owner\entry\preview\item.php의
2258줄 [1.1.0.2에서는 3462줄]
$entry['categoryLabel']=getCategoryLabelById($owner,$entry['id']);부분을
$entry['categoryLabel']=getCategoryLabelById($owner,$entry['category']);이렇게 바꿔야겠네요.
그리고 별로 상관없을지 모르나;;
dress('article_rep_category_link',"$blogURL/category/".encodeURL($entry['categoryLabel']),$entryView);부분도
dress('article_rep_category_link', empty($entry['category']) ? "$blogURL/category/" : "$blogURL/category/".encodeURL($entry['categoryLabel']) ,$entryView);이렇게 바꾸는 게 좋을 듯 합니다.
NYA (2006-12-14 01:50:47)에 의해 마지막으로 수정