summaryrefslogtreecommitdiff
path: root/main/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/output.c')
-rw-r--r--main/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/output.c b/main/output.c
index 64729ac4a4..22ac26a7c5 100644
--- a/main/output.c
+++ b/main/output.c
@@ -180,6 +180,7 @@ PHPAPI void php_output_deactivate(void)
php_output_handler **handler = NULL;
if ((OG(flags) & PHP_OUTPUT_ACTIVATED)) {
+ php_output_header();
OG(flags) ^= PHP_OUTPUT_ACTIVATED;
OG(active) = NULL;