Commit f311646b authored by Dries's avatar Dries

- Patch #10195 by JonBob: bugfix: common.inc used the function ob_get_clean() which is only available in PHP >= 4.3.
parent 6881cc9a
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment