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

HTML_QuickForm_radioの__constructと引数の数が一致していない #58

Closed
ryoryo opened this issue Dec 7, 2018 · 0 comments
Closed

Comments

@ryoryo
Copy link
Member

ryoryo commented Dec 7, 2018

parent::__construct($elementName, $elementLabel, $attributes);

以前まではHTML_QuickForm_radioではなく更に親のHTML_QuickForm_elementのコンストラクタを実行していたため、上記のコードで問題なく動いていましたが、bradioの直接の親はHTML_QuickForm_radioなので、コンストラクタは

`__construct($elementName=null, $elementLabel=null, $text=null, $value=null, $attributes=null)

となり、$textのところに$attributesが代入されてしまっています。

ryoryo pushed a commit to ryoryo/BEAR.Saturday that referenced this issue Dec 7, 2018
ryoryo pushed a commit to ryoryo/BEAR.Saturday that referenced this issue Dec 7, 2018
@koriym koriym closed this as completed Jan 21, 2019
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

No branches or pull requests

2 participants