Skip to content

fix #4355 【プラグイン】BcSeoHelperEventListener のネストループで break が内側しか抜けていない問題を解消#4390

Open
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#4355
Open

fix #4355 【プラグイン】BcSeoHelperEventListener のネストループで break が内側しか抜けていない問題を解消#4390
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#4355

Conversation

@kaburk
Copy link
Copy Markdown
Collaborator

@kaburk kaburk commented May 22, 2026

よろしくお願いします。

Copilot AI review requested due to automatic review settings May 22, 2026 10:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

BcSeoHelperEventListener の bcFormTableAfter() 内で、seoForms 設定から対象の $type を探索するネストした foreach ループにおいて、該当イベントIDが見つかった際に外側ループまで抜けられず探索が継続してしまう問題(#4355)を解消するPRです。

Changes:

  • ネストループ内の break;break 2; に変更し、イベントID一致時に外側ループまで確実に脱出するよう修正

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants