Fix notices with certain output buffer configurations (Valentin.Vidic@CARNet.hr,...
authorJan Schneider <jan@horde.org>
Sat, 7 Aug 2010 13:57:40 +0000 (15:57 +0200)
committerJan Schneider <jan@horde.org>
Sat, 7 Aug 2010 13:57:40 +0000 (15:57 +0200)
imp/docs/CHANGES
imp/lib/Dimp.php
kronolith/lib/Kronolith.php

index 93d4fd0..d94895e 100644 (file)
@@ -2458,6 +2458,8 @@ OLD DIMP CHANGELOG
 v1.1.5-cvs
 ----------
 
+[jan] Fix notices with certain output buffer configurations
+      (Valentin.Vidic@CARNet.hr, Bug #7851).
 [mms] Turn DNS prefetching off when displaying untrusted message content
       (Ticket #8836).
 
index 8210e58..3772e4e 100644 (file)
@@ -75,6 +75,7 @@ class IMP_Dimp
         // Send what we have currently output so the browser can start
         // loading CSS/JS. See:
         // http://developer.yahoo.com/performance/rules.html#flush
+        ob_flush();
         flush();
     }
 
index 6f9a45d..e4218ea 100644 (file)
@@ -97,6 +97,7 @@ class Kronolith
         // Send what we have currently output so the browser can start
         // loading CSS/JS. See:
         // http://developer.yahoo.com/performance/rules.html#flush
+        ob_flush();
         flush();
     }