File buffering_fixes.patch of Package pihole-admin-lte

Index: AdminLTE-5.18/scripts/pi-hole/php/debug.php
===================================================================
--- AdminLTE-5.18.orig/scripts/pi-hole/php/debug.php
+++ AdminLTE-5.18/scripts/pi-hole/php/debug.php
@@ -1,6 +1,9 @@
 <?php
 
-ob_end_flush();
+if(ob_get_contents()) {
+    ob_end_flush();
+}
+
 ini_set('output_buffering', '0');
 ob_implicit_flush(true);
 header('Content-Type: text/event-stream');