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

setInc setDec无法处理与关键字重名的字段的bug #8

Closed
xcorp1986 opened this issue Jan 9, 2017 · 0 comments
Closed

setInc setDec无法处理与关键字重名的字段的bug #8

xcorp1986 opened this issue Jan 9, 2017 · 0 comments
Assignees
Labels

Comments

@xcorp1986
Copy link
Owner

setfield时给field加上``

由于tp对set参数的处理很粗暴,等号后面是直接拼接传入的字符串的,只能从这里修复一下了。
不清楚是不是有数据库不支持真这种写法,不过从update中调用的prasekey的写法来看,似乎问题不大。
ref top-think/thinkphp#439

@xcorp1986 xcorp1986 added the bug label Jan 9, 2017
@xcorp1986 xcorp1986 self-assigned this Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant