Review 10.4 Abandoned

72121[BUGFIX] Avoid fatal error in image rendering when processing fails

Helmut Hummel CR 0 V 0 Easy +9 −9 updated 02/05/22, 11:16

Commit message

Fatal error can occur, when the file variable isn't a string,
which only happens, when file processing failed or the resolved
file isn't an image.

Nevertheless the fatal error should be avoided.

Also clean up some variable usage to not change the type
of variable and remove some not needed isset() check
for better readability.

Review

  • Code review CR 0

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

  • Verified V 0

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

Issues 1

Files 1