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

Declaration of app\admin\model\Group::delDataById($group_id, $delSon = false) should be compatible with app\admin\model\Common::delDataById($id = '', $delSon = false) #11

Open
hzdok opened this issue May 20, 2019 · 0 comments

Comments

@hzdok
Copy link

hzdok commented May 20, 2019

https://github.com/72crm/72crm/blob/58d446279867ab3f5f171fc2173bbd5fa438cfbb/application/admin/model/Group.php#L106

PHP7.2.10 下delDataById方法重写,由于参数不同报错(php5.6没问题)
源代码位置:/application/admin/model/Group.php#L106
源代码:public function delDataById($group_id)
建议修改为:public function delDataById($group_id= '', $delSon = false)

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

1 participant