Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #3153 【5.1】識別名称:エイリアスに漢字カナひらがなが登録できてしまう【サイト管理>サイト編集】 #3158

Merged
merged 4 commits into from
Feb 26, 2024

Conversation

HungDV2022
Copy link
Collaborator

No description provided.

@@ -745,7 +755,7 @@ public function save(
if($request) {
$session = Router::getRequest()->getSession();
$currentSite = $session->read('BcApp.Admin.currentSite');
if ($currentSite && $success->id === $currentSite->id) {
if ($success && $currentSite && $success->id === $currentSite->id) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ryuring バリデーションを発生したら$success=falseになったのでWarmingを出てしまいました。

Copy link
Collaborator

Choose a reason for hiding this comment

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

@HungDV2022 $success の判定は、755行目に入れてください

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ryuring こちらを修正しました。確認お願いします。

@ryuring
Copy link
Collaborator

ryuring commented Feb 26, 2024

@HungDV2022 ありがとうございます。マージします。

@ryuring ryuring merged commit 537fdc0 into baserproject:dev-5.1 Feb 26, 2024
1 check passed
@momofff momofff added this to the 5.1.0 milestone Mar 21, 2024
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.

4 participants