-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
自定义Route中setParam的bug #496
Comments
在3.1.4下,$request->setParam("1", "bbb"); 也是如此。 但是之前都是使用 $request->setParam([
0=>'aaa',
1=>'bbb'
]); 不会有这个问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在自定义路由setParam中,如果key是数字的话,在controller中获取到的数组的key不正确。
如果key是字母就没这个问题。
因为之前自定义了路由
http://mydomain.com/controller/action/arg1/arg2/arg3
这样的格式。
php 7.4.7, yaf 3.2.5
The text was updated successfully, but these errors were encountered: