From 42859072ebe89b30d2e272599e83def48f551993 Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 6 Aug 2026 05:54:38 +0000 Subject: [PATCH] =?UTF-8?q?=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85=20?= =?UTF-8?q?=EC=BF=A0=ED=8F=B0=20=EB=B0=9C=EA=B8=89=20=EC=9E=AC=EC=8B=9C?= =?UTF-8?q?=EB=8F=84=20=EC=83=81=ED=95=9C=20=EB=8F=99=EC=9E=91=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 쿠폰번호 중복 시 재생성을 반복하는 구간에서 재시도 횟수가 증가하지 않아 상한 검사가 동작하지 않았다. 중복이 계속 발생하면 조회를 반복하며 루프를 빠져나가지 못하므로 횟수 증가를 추가한다. - bbs/register_form_update.php - plugin/social/register_member_update.php Co-Authored-By: Claude Opus 5 (1M context) (cherry picked from commit ad396a59d463df880739c1e9514e4aa61d883850) --- bbs/register_form_update.php | 2 ++ plugin/social/register_member_update.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 79ce3d407..9dd6add28 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -646,6 +646,8 @@ if($w == '' && isset($default['de_member_reg_coupon_use']) && $default['de_membe if($j > 20) break; } + + $j++; } while(1); if($create_coupon) { diff --git a/plugin/social/register_member_update.php b/plugin/social/register_member_update.php index 28817e9f8..28736f415 100644 --- a/plugin/social/register_member_update.php +++ b/plugin/social/register_member_update.php @@ -305,6 +305,8 @@ if($result) { if($j > 20) break; } + + $j++; } while(1); if($create_coupon) {