Review main Merged

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

Morton Jonuschat CR +2 V +2 Easy +3 −0 updated 07/28/15, 21:06

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 1