Skip to content
Commit 9f3824b8 authored by Richard de Boer's avatar Richard de Boer Committed by backportbot[bot]
Browse files

Check whether output buffering is active before turning it off



Before we just turned it off and @suppressed the error if ob was not active.
In PHP 8 this error is no longer suppressed, so try to not cause it at all.

Signed-off-by: default avatarRichard de Boer <git@tubul.net>
parent 088118f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment