diff options
author | Mario <mario@mariovavti.com> | 2021-05-14 08:56:07 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-14 08:56:07 +0000 |
commit | 635a24dff477548bdcf601874cb1ff2509aef3cc (patch) | |
tree | bc14a1800d978e0f924b0c25ef7f7a3b69887ba5 /Zotlabs/Module/Sse.php | |
parent | ded9f18b8a36cae8dfe1797b7ba87d7742c996df (diff) | |
parent | a03423794a1a9dc15588d40684fee3bf9a57b629 (diff) | |
download | volse-hubzilla-635a24dff477548bdcf601874cb1ff2509aef3cc.tar.gz volse-hubzilla-635a24dff477548bdcf601874cb1ff2509aef3cc.tar.bz2 volse-hubzilla-635a24dff477548bdcf601874cb1ff2509aef3cc.zip |
Merge branch 'dev' into 'dev'
Random PHP 8 fixes
See merge request hubzilla/core!1951
Diffstat (limited to 'Zotlabs/Module/Sse.php')
-rw-r--r-- | Zotlabs/Module/Sse.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Sse.php b/Zotlabs/Module/Sse.php index 8bea65207..6f3df299f 100644 --- a/Zotlabs/Module/Sse.php +++ b/Zotlabs/Module/Sse.php @@ -108,7 +108,8 @@ class Sse extends Controller { echo 'data: {}'; echo "\n\n"; - ob_end_flush(); + if(ob_get_length() > 0) + ob_end_flush(); flush(); if(connection_status() != CONNECTION_NORMAL || connection_aborted()) { |