Another place to use Horde::[start|end]Buffer()
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 19 May 2010 16:57:18 +0000 (10:57 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 19 May 2010 17:06:43 +0000 (11:06 -0600)
imp/lib/Views/Compose.php

index a97b4e5..5bd60b4 100644 (file)
@@ -104,10 +104,9 @@ class IMP_Views_Compose
         }
 
         // Buffer output so that we can return a string from this function
-        ob_start();
+        Horde::startBuffer();
         require IMP_TEMPLATES . '/dimp/chunks/compose.php';
-        $result['html'] .= ob_get_contents();
-        ob_clean();
+        $result['html'] .= Horde::endBuffer();
 
         return $result;
     }