You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to update a bit column in MS SQL, values evaluate to 'true' which are not expected. Specifically 'false' will update the column to a 1. Only a 0 will actually update the column correctly.
That is in the function convertInputValue the return for boolean should be:
When trying to update a bit column in MS SQL, values evaluate to 'true' which are not expected. Specifically 'false' will update the column to a 1. Only a 0 will actually update the column correctly.
That is in the function
convertInputValue
the return for boolean should be:return filter_var($value, FILTER_VALIDATE_BOOLEAN) ? 1 : 0;
so that 'false' converts to 0 instead of 1
The text was updated successfully, but these errors were encountered: