Skip to content

Commit

Permalink
ブログ・メールフォームがコピーできない問題を改善 fix #3058
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Mar 3, 2024
1 parent e301a9f commit b9413e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/bc-blog/src/Model/Table/BlogContentsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function validationDefault(Validator $validator): Validator

$validator
->scalar('description')
->allowEmptyString('description')
->add('description', [
'containsScript' => [
'rule' => ['containsScript'],
Expand Down
1 change: 1 addition & 0 deletions plugins/bc-mail/src/Model/Table/MailContentsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public function validationDefault(Validator $validator): Validator
// description
$validator
->scalar('description')
->allowEmptyString('description')
->add('description', [
'containsScript' => [
'rule' => ['containsScript'],
Expand Down

0 comments on commit b9413e7

Please sign in to comment.