awiebe / burningthumb-vk-manage

This is only an issue tracker, please do ot push code to this repo.
0 stars 0 forks source link

Booleans not handled correctly by put.php #23

Closed burningthumb closed 7 years ago

burningthumb commented 7 years ago

Because booleans are arriving as text true or false, but the database defines them as ints, put.php is always putting 0 in the table, the string true ends up as 0, the string false ends up as 0. The put.php script needs to convert true to 1, and false to 0 prior to inserting the values into the database. Affected fields are: "isroot" "isplaying" "widgetsenabled" and "sendstandby"

burningthumb commented 7 years ago

Added for completeness. Already fixed.