Use Horde::endBuffer() - there might not be an active buffer to flush.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 12 Aug 2010 00:59:51 +0000 (20:59 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 12 Aug 2010 00:59:51 +0000 (20:59 -0400)
imp/lib/Dimp.php

index 3772e4e..bbb92ad 100644 (file)
@@ -75,7 +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();
+        echo Horde::endBuffer();
         flush();
     }