Skip to content

Commit

Permalink
Merge pull request pi-hole#896 from mepsteinj/devel
Browse files Browse the repository at this point in the history
Fix a PHP error generated by "Query Lists".
  • Loading branch information
AzureMarker authored Jan 18, 2019
2 parents 6a6a95f + 6447879 commit be1a765
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/pi-hole/php/queryads.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */

ob_end_flush();
while (ob_get_level() > 0) {
ob_end_flush();
}
ini_set("output_buffering", "0");
ob_implicit_flush(true);
header('Content-Type: text/event-stream');
Expand Down

0 comments on commit be1a765

Please sign in to comment.