Skip to content

Commit

Permalink
새글 선택내용삭제 과정중 잘못된 변수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Oct 10, 2017
1 parent ebad724 commit c111b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbs/new_delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

if ($pressed == '선택내용삭제') {
// 게시글 내용만 삭제
sql_query(" update $write_table set wr_subject = '{$g5['time_ymdhis']} - 본인 요청으로 인한 삭제 (냉무) ☆', wr_content = '', wr_name='본인요청삭제☆' where wr_id = '{$write['wr_id']}' ");
sql_query(" update $write_table set wr_subject = '".G5_TIME_YMDHIS." - 본인 요청으로 인한 삭제 (냉무) ☆', wr_content = '', wr_name='본인요청삭제☆' where wr_id = '{$write['wr_id']}' ");
} else {
// 게시글 삭제
sql_query(" delete from $write_table where wr_parent = '{$write['wr_id']}' ");
Expand Down

0 comments on commit c111b2b

Please sign in to comment.