Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
wr_id_list 필터링 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Aug 10, 2016
1 parent ccf6d9c commit 42b5adf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bbs/move_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
$save_count_comment = 0;
$cnt = 0;

$wr_id_list = preg_replace('/[^0-9\,]/', '', $_POST['wr_id_list']);

$sql = " select distinct wr_num from $write_table where wr_id in ({$wr_id_list}) order by wr_id ";
$result = sql_query($sql);
while ($row = sql_fetch_array($result))
Expand Down

0 comments on commit 42b5adf

Please sign in to comment.