Skip to content

Commit

Permalink
fix baserproject#1894 メールフォーム ラジオボタンがphp8.1~に対応していない問題を解決 (baserproje…
Browse files Browse the repository at this point in the history
…ct#2225)

Co-authored-by: kato <kato@e-catchup.jp>
  • Loading branch information
katokaisya and kato committed Apr 4, 2023
1 parent 72a6324 commit a8ed5b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/baser-core/src/View/Helper/BcFormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,9 @@ public function radio($fieldName, $options = [], $attributes = []): string
$div = $attributes['div'];
unset($attributes['div']);
}
unset($label['label']);
if (isset($label['label'])) {
unset($label['label']);
}

$this->_domIdSuffixes = [];
foreach($options as $optValue => $optTitle) {
Expand Down

0 comments on commit a8ed5b6

Please sign in to comment.