Other attributes have already been modified, such as last_reply_at and status. But the field news can sometimes be changed to 1, but sometimes it is still 0 and has not been modified.
What is the expected result?
Attributes can be modified correctly,The correct value in the database should be 1, not 0。
What steps will reproduce the problem?
//Business code
Other attributes have already been modified, such as
last_reply_at
andstatus
. But the fieldnews
can sometimes be changed to 1, but sometimes it is still 0 and has not been modified.What is the expected result?
Attributes can be modified correctly,The correct value in the database should be 1, not 0。
What do you get instead?
please fix this bug.
Additional info