회원가입 쿠폰 발급 재시도 상한 동작하도록 수정

쿠폰번호 중복 시 재생성을 반복하는 구간에서 재시도 횟수가 증가하지
않아 상한 검사가 동작하지 않았다. 중복이 계속 발생하면 조회를 반복하며
루프를 빠져나가지 못하므로 횟수 증가를 추가한다.

- bbs/register_form_update.php
- plugin/social/register_member_update.php

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit ad396a59d463df880739c1e9514e4aa61d883850)
This commit is contained in:
thisgun
2026-08-24 07:44:22 +00:00
parent 0ae67a652c
commit 42859072eb
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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) {
+2
View File
@@ -305,6 +305,8 @@ if($result) {
if($j > 20)
break;
}
$j++;
} while(1);
if($create_coupon) {