From bad0b54555f7c529c42bbeba1a17b374af1d9305 Mon Sep 17 00:00:00 2001
From: andi <andi@splitbrain.org>
Date: Mon, 30 May 2005 20:21:57 +0200
Subject: [PATCH] fix for PHP includes #350

darcs-hash:20050530182157-9977f-981812ef30c46ca8baed1988418ac4be9f213f11.gz
---
 inc/parser/xhtml.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 1520d6624..da5c70459 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -289,10 +289,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
     function php($text) {
         global $conf;
         if($conf['phpok']){
-            ob_start;
+            ob_start();
             eval($text);
             $this->doc .= ob_get_contents();
-            ob_end_clean;
+            ob_end_clean();
         }else{
             $this->file($text);
         }
-- 
GitLab