8000 修复 EloquentRepository::getRelationInputs() 未校验方法公开性的问题 by oopok · Pull Request #1931 · jqhph/dcat-admin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

修复 EloquentRepository::getRelationInputs() 未校验方法公开性的问题 #1931

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

Merged
merged 1 commit into from
Nov 19, 2022

Conversation

oopok
Copy link
Contributor
@oopok oopok commented Oct 19, 2022

Laravel 9 中的 getter/setter 一般会使用 protected 可见性,而 EloquentRepository::getRelationInputs() 中并未校验可见性而直接调用方法,会导致表单提交报错

@jqhph jqhph merged commit 230956e into jqhph:2.0 Nov 19, 2022
@jqhph
Copy link
Owner
jqhph commented Nov 19, 2022

感谢!

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
0