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) {