From a9eab8d86ae0ce0805cfdb786ad2f1e33f3a80ac Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 8 Jul 2025 11:40:47 +0900 Subject: [PATCH] =?UTF-8?q?insert=5Fuse=5Fpoint=20=ED=95=A8=EC=88=98?= =?UTF-8?q?=EC=97=90=20hook=20=EC=B6=94=EA=B0=80=20#363?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index f0a8901bf..dfd161a1d 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1141,7 +1141,11 @@ function insert_point($mb_id, $point, $content='', $rel_table='', $rel_id='', $r function insert_use_point($mb_id, $point, $po_id='') { global $g5, $config; - + + if ($replace_insert = run_replace('insert_use_point_before', '', $mb_id, $point, $po_id)) { + return $replace_insert; + } + if($config['cf_point_term']) $sql_order = " order by po_expire_date asc, po_id asc "; else