From: Michael M Slusarz Date: Wed, 19 May 2010 16:57:18 +0000 (-0600) Subject: Another place to use Horde::[start|end]Buffer() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0bf81df078028836d37441e773f76eb4af3eb6d0;p=horde.git Another place to use Horde::[start|end]Buffer() --- diff --git a/imp/lib/Views/Compose.php b/imp/lib/Views/Compose.php index a97b4e5e1..5bd60b4c7 100644 --- a/imp/lib/Views/Compose.php +++ b/imp/lib/Views/Compose.php @@ -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; }