Merge branch 'master' of https://github.com/gnuboard/g5 into g54_theme2

This commit is contained in:
thisgun committed 2019-03-14 12:07:59 +09:00
commit 9af0d855b3
19 files changed
+85 -40

No files matched your search

+4 -2
View File
@@ -196,8 +196,10 @@ if ($sw == 'move')
{
for ($i=0; $i<count($save); $i++)
{
for ($k=0; $k<count($save[$i]['bf_file']); $k++)
@unlink($save[$i]['bf_file'][$k]);
if( isset($save[$i]['bf_file']) && $save[$i]['bf_file'] ){
for ($k=0; $k<count($save[$i]['bf_file']); $k++)
@unlink($save[$i]['bf_file'][$k]);
}
sql_query(" delete from $write_table where wr_parent = '{$save[$i]['wr_id']}' ");
sql_query(" delete from {$g5['board_new_table']} where bo_table = '$bo_table' and wr_id = '{$save[$i]['wr_id']}' ");