Review main Merged

72086[BUGFIX] Avoid calling nl2br(null) in Nl2brViewHelper

Stefan Bürk CR +2 V +2 Easy +1 −1 updated 11/09/21, 00:10

Commit message

Nl2brViewHelper::renderStatic() calls nl2br with the return
of the called $renderChildrenClosure which may return null.
Feeding null to nl2br() emits a E_DEPRECATED PHP 8.1 error.
Sanatize the call.

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