관리자 기본환경설정에서 불필요한 코드 제거

This commit is contained in:
thisgun
2024-06-03 12:39:48 +09:00
parent 2c0e05bbcc
commit a301d3e1f0
2 changed files with 12 additions and 9 deletions

View File

@ -1320,6 +1320,10 @@ function delete_point($mb_id, $rel_table, $rel_id, $rel_action)
and po_rel_action = '$rel_action' ";
$row = sql_fetch($sql);
if (! (isset($row['po_id']) && $row['po_id'])) {
return true;
}
if(isset($row['po_point']) && $row['po_point'] < 0) {
$mb_id = $row['mb_id'];
$po_point = abs($row['po_point']);