Use Horde::startBuffer(), Horde::endBuffer()
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Aug 2010 15:03:46 +0000 (11:03 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 15 Aug 2010 15:03:46 +0000 (11:03 -0400)
whups/lib/Renderer/Comment.php

index aad9ba3..e568448 100755 (executable)
@@ -179,7 +179,7 @@ class Horde_Form_Renderer_Comment extends Horde_Form_Renderer {
                     . '</a>';
             }
 
-            ob_start();
+            Horde::startBuffer();
             $class = $private ? 'pc' : 'c';
 ?>
 <div id="t<?php echo (int)$transaction ?>">
@@ -202,8 +202,7 @@ class Horde_Form_Renderer_Comment extends Horde_Form_Renderer {
 </table>
 </div>
 <?php
-            $html = ob_get_contents();
-            ob_end_clean();
+            $html = Horde::endBuffer();
             return $html;
         }