g5 merge 충돌 수정

This commit is contained in:
chicpro
2013-11-12 18:18:21 +09:00
6 changed files with 6 additions and 6 deletions

View File

@ -399,7 +399,7 @@ $editor_js = '';
$editor_js .= get_editor_js('wr_content', $is_dhtml_editor);
$editor_js .= chk_editor_js('wr_content', $is_dhtml_editor);
// 임시 저장된 글
// 임시 저장된 글 수
$autosave_count = autosave_count($member['mb_id']);
include_once(G5_PATH.'/head.sub.php');

View File

@ -552,7 +552,7 @@ for ($i=(int)$row['max_bf_no']; $i>=0; $i--)
sql_query(" delete from {$g5['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' and bf_no = '{$i}' ");
}
// 파일의 수를 게시물에 업데이트 한다.
// 파일의 수를 게시물에 업데이트 한다.
$row = sql_fetch(" select count(*) as cnt from {$g5['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' ");
sql_query(" update {$write_table} set wr_file = '{$row['cnt']}' where wr_id = '{$wr_id}' ");