Review 9.5 Merged

66114[BUGFIX] Fix type error in log upgrade wizard

Daniel Goerz CR +2 V +2 Easy +10 −8 updated 10/12/20, 15:18

Commit message

During the update, the value of the field log_data is
unserialized. The expected value is an array, but it was
never validated. If the field contains an invalid value,
unserialize() returns a boolean false.

Now the result is type casted to an array to ensure the
correct type.

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