select wr_content 필드 누락 추가

This commit is contained in:
gnuboard
2013-07-11 11:41:48 +09:00
parent 34e3ccd9c2
commit c03fca56e6

View File

@ -76,7 +76,7 @@ for ($i=count($tmp_array)-1; $i>=0; $i--)
// 나라오름님 수정 : 원글과 코멘트수가 정상적으로 업데이트 되지 않는 오류를 잡아 주셨습니다.
//$sql = " select wr_id, mb_id, wr_comment from {$write_table} where wr_parent = '{$write[wr_id]}' order by wr_id ";
$sql = " select wr_id, mb_id, wr_is_comment from $write_table where wr_parent = '{$write['wr_id']}' order by wr_id ";
$sql = " select wr_id, mb_id, wr_is_comment, wr_content from $write_table where wr_parent = '{$write['wr_id']}' order by wr_id ";
$result = sql_query($sql);
while ($row = sql_fetch_array($result))
{