From 0bf81df078028836d37441e773f76eb4af3eb6d0 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 19 May 2010 10:57:18 -0600 Subject: [PATCH] Another place to use Horde::[start|end]Buffer() --- imp/lib/Views/Compose.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.11.0