Review main Merged

65137[BUGFIX] Ensure decoded parameters are a valid array

Oli Bartsch CR +2 V +2 Easy +1 −1 updated 08/10/20, 13:31

Commit message

Calling ShowImageController with old links containing serialized
parameters leads to PHP warnings as the json_decode doesn't
return an array in this case.

To prevent this warnings we now ensure that parameters is a valid
array in any case, prior to calling the foreach.

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