Review main Merged Breaking

42376[!!!][BUGFIX] Database API: Cast bool values to integer for MySQL

Morton Jonuschat CR +2 V +2 Easy +37 −0 updated 08/07/15, 15:12

Commit message

Convert boolean values to integers before processing them with
mysqli_real_escape_string() to ensure that FALSE values get converted to
'0' instead of '', which isn't a valid value for integer columns in
MySQL strict mode.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2