From f311646b1eda52d2c4dcf36afb0e9d3876557d40 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 21 Aug 2004 16:44:05 +0000 Subject: - Patch #10195 by JonBob: bugfix: common.inc used the function ob_get_clean() which is only available in PHP >= 4.3. --- includes/common.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 30ca12e08..547740db6 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1831,7 +1831,9 @@ function mime_header_encode($string, $charset = 'UTF-8') { function drupal_eval($code) { ob_start(); print eval('?>'. $code); - return ob_get_clean(); + $output = ob_get_contents(); + ob_end_clean(); + return $output; } include_once 'includes/theme.inc'; -- cgit v1.2.3